FactpyCancelar
Description
Section titled “Description”Cancels an already-issued and approved Electronic Document with Paraguay’s SET through FactPy. The cancellation requires a reason and is recorded with the SET.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | FactPy account API key |
| document_id | text | Yes | FactPy internal DE ID |
| reason | text | Yes | Cancellation reason (free text) |
Output
Section titled “Output”{ "success": true, "document_id": "de-abc123", "status": "cancelled", "reason": "Error in receiver data", "raw": { ... }}Usage Example
Section titled “Usage Example”{ "credentials_id": "cred-factpy-prod", "document_id": "de-abc123", "reason": "Incorrect receiver RUC"}- Only DEs in
approvedstatus can be cancelled;pendingorrejectedDEs don’t need cancellation - The cancellation reason is free text but should be descriptive for the SET record
Related Nodes
Section titled “Related Nodes”- FactpyEmitir - Issue a DE
- FactpyConsulta - Query DE status