Postings: add multiple receipt postings
postings_add_batch_receiptsCreate multiple receipt postings in a batch. Adds posting records for specified receipts, requiring creditor or debtor posting activation.
Instructions
๐ก WRITE ยท creates data โ Creates new records (receipts, transactions, postings, invoices, master data). Not idempotent โ calling twice may create duplicates. add multiple receipt postings Add postings for specified receipts. Important: Receipt postings are only available if creditor or debtor posting is activated!
IMPORTANT: If you add postings to a receipt with foreign currency, you have to get that receipt (/receipts/get/id_by_customer) and find the calculated amount before performing this request.
Endpoint: POST /postings/add-batch/receipts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional. The BB customer api_key to act on. Defaults to the BB_API_KEY configured on the server โ only set this to target a different customer. | |
| receipts | Yes | an array of receipt postings, each receipt posting has the same field declaration and validation as the postings/add/receipt endpoint |