BillptVoidDocument
Description
Section titled “Description”Voids a tax document in Bill.pt. Voiding is a legal process that fiscally invalidates the document.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Bill.pt credential |
| document_id | text | Yes | ID of the document to void |
| reason | textarea | No | Reason for voiding |
Credentials
Section titled “Credentials”This module requires a billpt type credential with the following fields:
- API Token: Bill.pt API access token
Output
Section titled “Output”{ "success": true, "document": { ... }, "document_id": "789", "message": "Documento 789 anulado exitosamente"}PATCH /documents/{id} - https://api.bill.pt
Usage Example
Section titled “Usage Example”{ "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
Related Nodes
Section titled “Related Nodes”- BillptGetDocuments - Get documents
- BillptCreateDocument - Create tax document
- BillptSendDocumentEmail - Send document by email