Import a Tax Report from an XML file

Import a Tax Report from an XML file If the creation of the Tax Report is successful, the response of this action will already contain the QR code and the identifier for the Tax Report. Note that if the XML file has chaining information (eg Huella for Verifactu), this information will be ignored and our system will perform the chaining process regardless. This is the only way to ensure the integrity of the data sent to the Tax Authority. Remember that you have to check the status of the tax report that we send in your behalf in order to be able to take the necessary actions in case any error or warning is issued by the Tax Authority. Because of the asynchronous nature of the tax report sending process, there is no guarantee that when you check the status of the tax reports it will already have the response of the Tax Authority. It usually takes a few seconds to complete the transaction. You will know that the transaction is complete if the response of the check of the status of the tax report has an status registered, registered_with_errors*, or error. We recommend you retry the status check until you get a final state on your tax report, or that you configure WebHooks for tax report state changes.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Account identifier (ID)

Body Params

The Tax Report XML file to import

Headers
string
Defaults to 2026-04-20

Specifies the version of the API to use in this request. If not specified uses the API-Version set in the group conifguration B2Brouter UI Application -> Developers -> API Keys -> API Version

Responses

401

Unauthorized

403

Forbidden

406

Not Acceptable

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json