Get fiscal receipts
get_receiptFetch fiscal receipts by receipt ID or order ID to get payment details, items, and optional client information.
Instructions
Fiscal receipt(s) by receipt id OR order id (POST /b2b/v1/receipts/get) — pass exactly one of the two. Returns {receipts: [{receipt_id, order, create_time, store, receipt_type (payment|refund), payment_methods, items, client?}]}; items is a map keyed by item id, and all amounts are decimal strings. Client PII (full_name, phone_number, email, delivery_address) is included only for the fields you list in client_fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | No | Order id to fetch receipts for. Mutually exclusive with receipt_id. | |
| receipt_id | No | Receipt id (e.g. from a receipt_issued order event). Mutually exclusive with order_id. | |
| client_fields | No | Which client PII fields to include in the response (omitted = no PII). |