Skip to content
Documentation
Get started

Invoices

Download an Invoice's signed XML

GET
/v1/invoices/{invoiceId}/files/xml
curl --request GET \
--url https://api.timbro.do/v1/invoices/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/files/xml \
--header 'Authorization: Bearer <token>'
invoiceId
required
string format: uuid

The Invoice’s retained, signed e-CF XML.

Media typeapplication/xml
Response fields and codes
string format: binary
request-id
required
string

Identifies this request. Quote it when you contact support.

timbro-file-sha256
required
string
/^[0-9a-f]{64}$/

SHA-256 of the returned bytes, in lowercase hex.

timbro-invoice-id
required
string format: uuid

The Invoice the file belongs to.

timbro-file-created-at
required
string format: date-time

When the file was retained.

timbro-certificate-sha256
required
string
/^[0-9a-f]{64}$/

SHA-256 of the certificate that signed the XML, in lowercase hex.

timbro-security-code
required
string
>= 6 characters <= 6 characters

The DGII security code of the signed e-CF.