Fiscal Documents

Void a receipt

Voids a receipt by updating its status to VOIDED. The receipt must be in OPEN status. For Italy, a refund receipt will be automatically created and linked to the voided receipt.

post/fiscal-document/v1/fiscal-documents/receipts/{receiptId}/void

Request

  • Base URL
    https://api.cloudbeds.com
  • URL
    https://api.cloudbeds.com/fiscal-document/v1/fiscal-documents/receipts/{receiptId}/void
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://api.cloudbeds.com/auth/oauth/authorize
      Token URL: https://api.cloudbeds.com/auth/oauth/token scopes: write:reservation

Path parameters

receiptIdinteger required

The ID of the receipt to void

Headers

X-Property-IDinteger required

Property id

Request body

reasonstring

Cancellation reason for the fiscal authority. Required on Mexico when voiding a fiscalized payment receipt (CFDI tipo P), where it is the SAT motivo de cancelacion: "02" (issued with errors, no substitute) or "03" (operation not carried out). Defaults to "03" when omitted. Ignored by countries that do not fiscalize a receipt void.

Example request

{
  "reason": "03"
}

Response

Receipt successfully voided

Changes

No recorded changes to this operation across all 1 revision of this API.