Skip to content
Documentation
Get started

Business

Download a certification Invoice PDF

GET
/v1/business/certification/invoices/{invoiceId}/pdf
curl --request GET \
--url https://api.timbro.do/v1/business/certification/invoices/example/pdf \
--header 'Authorization: Bearer <token>'
invoiceId
required
string
>= 1 characters

Default Response

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.