Skip to content
Documentation
Get started

Invoices

Download a shared Invoice receipt's PDF

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

The receipt’s verified PDF.

Media typeapplication/pdf
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-pdf-sha256
required
string
/^[0-9a-f]{64}$/

SHA-256 of the PDF bytes, in lowercase hex. Equals timbro-file-sha256.

timbro-encf
required
string
/^E(31|32|33|34|41|43|44|45|46|47)[0-9]{10}$/

The Invoice’s eNCF.

timbro-invoice-type
required
string
Allowed values: E31 E32 E33 E34 E41 E43 E44 E45 E46 E47

The Invoice’s e-CF type.

timbro-pdf-layout
required
string
Allowed values: a4 receipt80mm

The layout the PDF is printed in.

timbro-page-count
required
integer
>= 1 <= 100

The number of pages in the PDF.

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

SHA-256 of the signed XML the PDF represents, in lowercase hex.