Skip to content

BillptVoidDocument

Voids a tax document in Bill.pt. Voiding is a legal process that fiscally invalidates the document.

FieldTypeRequiredDescription
credentials_idcredentialsYesBill.pt credential
document_idtextYesID of the document to void
reasontextareaNoReason for voiding

This module requires a billpt type credential with the following fields:

  • API Token: Bill.pt API access token
{
"success": true,
"document": { ... },
"document_id": "789",
"message": "Documento 789 anulado exitosamente"
}

PATCH /documents/{id} - https://api.bill.pt

{
"document_id": "789",
"reason": "Error en los datos del cliente"
}
  • Voiding is irreversible
  • It is recommended to always provide a reason for voiding
  • Only documents without associated receipts can be voided
  • To correct an invoice, a Credit Note (NC) can be created instead