File a Tax Data Document for an external document
POST/tax-data-documents/:type
Accepts a UBL 2.1 XML invoice or credit note that was not sent or received through A-Cube, directly as request body, and files a Tax Data Document for it with the Tax Authority. The Legal entity named by the type (the supplier for outgoing and report_only, the customer for incoming) must be one of yours, with fiscalisation enabled and confirmed.
Request
Responses
- 202
- 400
- 409
- 415
- 422
Tax data document queued for sending.
The tax data document type is not outgoing, incoming or report_only.
Fiscalisation is not enabled for the legal entity, or the legal entity has not confirmed A-Cube as its fiscalisation provider.
The request Content-Type is not application/xml or text/xml.
The document is invalid, or the legal entity is not one of yours.