Receipts: get receipt by id_by_customer
receipts_get_id_by_customerFetch a single receipt for a customer by its id_by_customer. Use after listing receipts to retrieve full receipt data.
Instructions
🟢 READ-ONLY — Fetches data. Makes no changes to the accounting records. get receipt by id_by_customer Get a single receipt for a specified customer account by id_by_customer. You can get the "id_by_customer" by using the "/receipts/get method" first. The response includes an array of receipt data.
Endpoint: POST /receipts/get/id_by_customer
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. | |
| get_file | No | If true, the file will be included as a base64 encoded string (e_invoice_type = 0 -> standard pdf file, e_invoice_type = 1 -> ZUGFeRD pdf file, e_invoice_type = 2 -> xRechnung xml file). If specified, the field will be validated. |