Documentation Index
Fetch the complete documentation index at: https://dev.openfiskal.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Each payment entry represents one authorization, cash leg, voucher redemption, or return settlement leg. Payments are supplied onPATCH /operations/{id}/complete; they cannot be reported before completion.
Payment enums
| Field | Allowed values |
|---|---|
method | cash, card, voucher, gift_card, bank_transfer, digital_wallet, store_credit, other |
status | pending, authorized, captured, failed, voided, refunded |
"42.50"), matching the operation’s amount fields.
Split tender
Use one payment object per tender leg. The sum ofcaptured and authorized amounts must match the operation’s total_amount.
Tips and gratuity
Usetip_amount on the operation when the tip is part of the fiscalized sale. If your payment processor returns separate payment references for base amount and tip, keep separate payment entries and distinguish them through your own external payment metadata.
Asynchronous settlement
Some payment methods settle after the operation is fiscally completed. In that case:- complete the operation with the latest known payment state (e.g.
authorized) - poll the operation resource for later state changes when needed
- retain the processor and payment references for reconciliation
Returns on prior sales
A return is a new operation withtype: return referencing the original sale — via related_operation_id when the sale exists in OpenFiskal, or via external_related_operation for sales from a legacy platform. The return’s payments array on completion describes the settlement legs that returned money to the customer.