Skip to main content
GET
List invoices
v1 · Base URL https://api.fintoc.com/v1

Authorizations

Authorization
string
header
required

Query Parameters

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

Example:

"link_6n12zLmai3lLE9Dq_token_gvEJi8FrBge4fb3cz7Wp856W"

since
string<date>

ISO 8601 date. If present, Fintoc returns only invoices with date on or after this value.

Example:

"2021-01-01"

until
string<date>

ISO 8601 date. If present, Fintoc returns only invoices with date on or before this value.

Example:

"2021-01-31"

updated_since
string<date-time>

ISO 8601 datetime. If present, Fintoc returns invoices updated on or after the earlier of this value and the last successful invoices refresh timestamp. If the account has not been refreshed yet, this filter does not narrow the result set.

Example:

"2021-01-01T00:00:00.000Z"

issue_type
enum<string>

If present, Fintoc returns only invoices with this issue type. One of issued (sales documents) or received (purchase documents).

Available options:
issued,
received
Example:

"issued"

invoice_status
enum<string>

If present, Fintoc returns only invoices with this status. One of registered (appears in the official registry) or pending (awaits acknowledgment from the receiver).

Available options:
registered,
pending
Example:

"registered"

page
integer<int32>

Page number to retrieve, starting at 1. Defaults to 1.

per_page
integer<int32>

Number of invoices per page. Defaults to 30. The maximum is 300.

Response

Paginated list of invoices, sorted by descending document date. The Link and X-Total-Count headers carry the pagination information.

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