Skip to main content

Idempotency

The Sign Receipt endpoint supports safe retries. If you submit a receipt with the same Reference as an existing receipt:

  • Same data (matching idempotency hash): Returns the original response with HTTP 200. No duplicate is created.
  • Different data: Returns HTTP 409 Conflict.

Hash Fields

The idempotency hash is calculated from: Type, Currency, Reference, OriginalReference, Date, Notes, ReceiptLinesTaxInclusive, TotalAmount, BuyerName, BuyerTIN, BuyerVAT, Cashier, BuyerAddress, BuyerPhone, BuyerEmail.

This means you can safely retry failed requests (e.g. due to network timeouts) without risk of creating duplicate receipts.