Skip to content
Documentation
Get started

Business

Download a consumer invoice a test run kept

GET
/v1/business/certification/test-runs/{runId}/consumer-invoices/{eNcf}
curl --request GET \
--url https://api.timbro.do/v1/business/certification/test-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/consumer-invoices/example \
--header 'Authorization: Bearer <token>'

Returns the signed full XML of one consumer invoice (E32) that a step 2 run summarized, as an attachment, for upload in DGII’s portal box for step 2. The run lists them as consumerInvoices.

runId
required
string format: uuid
eNcf
required
string
/^E32[0-9]{10}$/

Default Response

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.