Skip to main content
GET
Get an invoice

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Unique identifier for the invoice to retrieve.

Query Parameters

Access token of the fiscal link that holds the invoice, returned when the link is created.

Example:

"link_6n12zLmai3lLE9Dq_token_gvEJi8FrBge4fb3cz7Wp856W"

Response

The invoice.

id
string
required

Unique identifier of the invoice.

Example:

"inv_9qXbVNDzgrXyq2Oa"

object
any
required

Type of the object. Always invoice.

currency
string | null
required

Three-letter ISO 4217 currency code of the document amounts, in uppercase. null when the fiscal authority does not report it.

Example:

"CLP"

date
string<date-time> | null
required

ISO 8601 timestamp of the document date. For grouped summary entries, corresponds to the last day of the tax period each entry covers.

Example:

"2021-05-12T00:00:00.000Z"

institution_id
enum<string>
required

Identifier of the fiscal authority that reported the invoice. One of cl_fiscal_sii (Chilean tax authority, SII) or mx_fiscal_sat (Mexican tax authority, SAT).

Available options:
cl_fiscal_sii,
mx_fiscal_sat
Example:

"cl_fiscal_sii"

institution_invoice
object
required

Detail specific to the fiscal authority that reported the invoice: a sii_invoice for SII invoices or a sat_invoice for SAT invoices.

issue_type
enum<string>
required

Whether the account holder issued or received the document. One of issued (sales documents) or received (purchase documents).

Available options:
issued,
received
Example:

"received"

issuer
object | null
required

Party that issued the document. null when the account holder issued the document or when the entry is a grouped summary.

net_amount
integer | null
required

Net amount of the document, in the smallest unit of currency (for example, 1000 for $1000 CLP, since CLP has no minor unit, or 1000 for $10.00 MXN).

Example:

100000

number
string | null
required

Number of the document in the fiscal authority's registry, for example the folio of an SII document. null when the registry does not report a number.

Example:

"2611"

receiver
object | null
required

Party that received the document. null when the account holder received the document or when the entry is a grouped summary.

tax_period
string | null
required

Tax period the document belongs to, in MM/YYYY format.

Example:

"05/2021"

total_amount
integer | null
required

Total amount of the document, including taxes, in the smallest unit of currency (for example, 1000 for $1000 CLP, since CLP has no minor unit, or 1000 for $10.00 MXN).

Example:

119000