TaxDocumentVoidRequested
Consumed by this service. Void an earlier invoice/bill, identified by the caller's ids.
When
PVC Connect cancelled an invoice or bill.
How it is handled
The document is looked up by the caller's ids and voided here and at the provider. If the document hasn't arrived yet (the void overtook it), the message is parked and redelivered after 1 m, 5 m, 15 m, 1 h and 4 h; after that it goes to _error.
Routing
Publish to exchange pvc.integrations.tax-document-void-requested; it is bound to this service's queue tax-document-void-requested. If the original document isn't there yet (or isn't committed), the message is parked and redelivered later rather than rejected.
Fields
| Field | Type | Meaning |
|---|---|---|
entityId | string | Owning entity. |
direction | TaxDirection | Receivable or payable. |
sourceSystem | string | Caller's system. |
sourceDocumentId | string | Caller's document id. |
reason | string | Why it is voided. |