Documents

Download the authorized XML

GET
/v1/ec/documents/{id}/xml

The SRI autorizacion with the signed document inside, the same as the download from the SRI portal.

Authorization

AuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_sandbox_… issues in sandbox, fb_test_… in test, the tax authority's testing service, and fb_live_… in live.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/xml

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/ec/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/xml"
"string"