Skip to main content
GET
Gets the invoice file as a base64 string in the desired format.

Authorizations

Authorization
string
header
required

HTTP Basic authentication with Facturama username and password.

Path Parameters

format
string | null
required

Format of the file to retrieve: ( pdf | html | xml ).

type
string | null
required

Type of voucher to retrieve: for standard API invoices ( payroll | received | issued ) and for Multi-issuer API ( issuedLite ).

id
string | null
required

Unique invoice identifier.

Response

200 - application/json

Returns the invoice in the requested format as base64.

Model of the file to retrieve

ContentEncoding
string | null

Encoding of the retrieved file

ContentType
string | null

File type (pdf, html, xml)

ContentLength
integer<int32>

Size in bytes

Content
string | null

File content