Skip to content

FactpyCancelar

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.

FieldTypeRequiredDescription
credentials_idcredentialsYesFactPy account API key
document_idtextYesFactPy internal DE ID
reasontextYesCancellation reason (free text)
{
"success": true,
"document_id": "de-abc123",
"status": "cancelled",
"reason": "Error in receiver data",
"raw": { ... }
}
{
"credentials_id": "cred-factpy-prod",
"document_id": "de-abc123",
"reason": "Incorrect receiver RUC"
}
  • Only DEs in approved status can be cancelled; pending or rejected DEs don’t need cancellation
  • The cancellation reason is free text but should be descriptive for the SET record