Postings: add free posting
postings_create_freeCreate standalone journal entries for manual accruals or corrections by booking a debit/credit pair with accounts, date, VAT, and text.
Instructions
🟡 WRITE · creates data: Creates new records (receipts, transactions, postings, invoices, master data). Not idempotent: calling twice may create duplicates.
add free posting
Add a free posting.
Use to book a debit/credit pair that is not tied to an existing receipt or bank transaction, such as a manual accrual or a correction.
If the booking documents a receipt, use postings_create_for_receipt. If it settles a bank transaction, use postings_create_for_transaction.
Takes one or many: pass an array of free postings in free_postings. A single record is an array of one.
A "free" posting is BuchhaltungsButler's term for a standalone journal entry: you name both sides yourself via postingaccount_debit and postingaccount_credit. Not idempotent, so a repeated call books the amount twice. A receipt can be attached afterwards with postings_assign_receipt_to_free.
Endpoint: POST /postings/add-batch/free
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free_postings | Yes | an array of free postings, each free posting has the same field declaration and validation as the postings/add/free endpoint |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| success | Yes | Success boolean | |
| free_postings | No |