{
"id": "inv_nMNejK7BT8oGbvO4",
"object": "invoice",
"number": "135",
"institution_id": "cl_fiscal_sii",
"issuer": {
"id": "117056856",
"name": "Hooli SpA",
"institution_tax_payer": null
},
"receiver": null,
"issue_type": "received",
"date": "2021-06-25T04:00:00.000Z",
"total_amount": 12123,
"net_amount": 12000,
"currency": "CLP",
"tax_period": "06/2021",
"institution_invoice": {
"received_at": "2021-06-25T19:27:04.000Z",
"accepted_at": null,
"confirmation_status": null,
"exempt_amount": 0,
"document_type": 34,
"total_documents": null,
"vat_amount": 123,
"fixed_assets_net_amount": null,
"fixed_assets_vat_amount": null,
"non_refundable_vat_amount": null,
"non_refundable_vat_code": null,
"non_credit_tax_amount": null,
"total_vat_withheld": 0,
"partial_vat_withheld": 0,
"non_withheld_vat": 0,
"own_vat": 0,
"third_party_vat": 0,
"common_use_vat": null,
"out_of_time_vat": 0,
"reference_type_code": null,
"reference_number": null,
"construction_company_credit": 0,
"free_zone_tax": 0,
"container_deposit_guarantee": 0,
"domestic_ticket_sales": 0,
"international_ticket_sales": 0,
"receipt_reference_number": null,
"settlement_issuer_id": null,
"vat_commisions": null,
"net_commissions": 0,
"exempt_commissions": 0,
"has_note": false,
"is_services_invoice": false,
"services_invoice": null,
"transaction_category": "Del Giro",
"invoice_status": 'registered',
"other_taxes": {
"total_amount": 400,
"other_taxes_detail": [
{
"tax_code": 14,
"tax_rate": "19",
"tax_amount": 400
}
]
},
"tobacco": {
"cigars": 0,
"cigarettes": 0,
"processed_tobacco": 0
}
}
}
Attribute | Type | Description |
---|---|---|
|
| Unique identifier for the Invoice |
|
| Identifier for the type of object. Its value for |
|
| For |
|
| Fiscal authority's |
|
| If the Invoice corresponds to a buy, this field indicates who issued the Invoice. Otherwise, this field is |
|
| If the Invoice corresponds to a sell, this field indicates who received the Invoice. Otherwise, this field is |
|
| Indicates whether the document was issued or received by the account's owner. Its possible values are |
|
| Date of the document, using ISO 8601ISO 8601 - Formato YYYY-MM-DDThh:mm:ssZ. Ejemplo: 2021-04-12T16:13:37Z. For documents with code 39 and 41, corresponds to the last day of the tax period to which they correspond |
|
| Total amount of the document represented as an integer. |
|
| Net amount of the document represented as an integer. |
|
| |
|
| Tax period, with the format |
|
| Either an |
Taxpayer Object
Attribute | Type | Description |
---|---|---|
|
| The document issuer/receptor's RUT (for the SII) or the RFC (for the SAT) |
|
| The document issuer/receptor's name |
|
| The document issuer/receptor's fiscal data. Can be |
Servicio Impuestos Internos (Chile)
If the fiscal authority is Servicio de Impuestos Internos (cl_fiscal_sii
), theinstitution_invoice
fields corresponds to the following objects:
InvoiceSII Object
Attribute | Type | Description |
---|---|---|
|
| Document's reception date, using ISO 8601ISO 8601 - Formato YYYY-MM-DDThh:mm:ssZ. Ejemplo: 2021-04-12T16:13:37Z. Can be |
|
| Document's acceptance date, using ISO 8601ISO 8601 - Formato YYYY-MM-DDThh:mm:ssZ. Ejemplo: 2021-04-12T16:13:37Z. Can be |
|
| Document's confirmation status. Can be one of the following values: |
|
| Code for the type of document. Its value is |
|
| Number of grouped documents. This field is valid for the documents that come in summary (codes 35, 38, 39, 41, 47 and 48). For every other document, corresponds to |
|
| Tax exempt amount represented as an integer. |
|
| VAT-refundable amount represented as an integer. |
|
| Fixed assets net amount represented as an integer. |
|
| Fixed assets VAT-refundable amount represented as an integer. |
|
| Fixed assets non VAT-refundable amount represented as an integer. |
|
| Non VAT-refundable code |
|
| Taxes without right to credit represented as an integer. |
|
| Total VAT withheld |
|
| Partial VAT withheld |
|
| Non withheld VAT |
|
| Own VAT |
|
| Third party VAT |
|
| Common use VAT |
|
| Out of time VAT |
|
| Code for the type of the reference document |
|
| Folio number for the reference document |
|
| Construction company credit |
|
| Free zone tax (Chilean Law 18211) |
|
| Container deposit guarantee |
|
| Domestic ticket sales |
|
| International ticket sales |
|
| Internal number: receipt reference number |
|
| Settlement issuer RUT |
|
| Net value for the commissions |
|
| Value of the VAT for the commissions |
|
| Value exempt from commissions |
|
| Indicates whether the document has a credit or debit note associated |
|
| Indicates whether the document corresponds to a receipt for professional fees |
|
| Contains specific information about the receipts for professional fees. Its value is |
|
| Indicates the clasification of the transaction category. Its values are the following:
|
|
| Indicates whether the invoice was obtained from the REGISTRO, PENDIENTES or RECLAMADOS tab.
|
|
| Other taxes breakdown. See the |
|
| Tobacco taxes breakdown. See the |
OtherTaxes Object
Attribute | Type | Description |
---|---|---|
|
| Total amount of other taxes represented as an integer. |
|
| Array of objects with |
TobaccoTaxes Object
Attribute | Type | Description |
---|---|---|
|
| Pure tobacco cigars |
|
| Tobacco cigarettes |
|
| Processed tobacco |
ServicesInvoice Object
Attribute | Type | Description |
---|---|---|
|
| Corresponds to the withheld amount in case the issuer taxpayer handles the provisional payment of the taxes |
|
| Corresponds to the withheld amount in case the recipient taxpayer handles the provisional payment of the taxes |
|
| Indicates whether the issuer taxpayer corresponds to a society of professionals or not |
|
| Indicates whether the invoice was generated for a third party or not |
|
| Corresponds to the date in which the document was issued on the official SII website |
|
| Corresponds to the invoice. Its possible values are:
|
Codes for SII document types
The document_type
attribute corresponds to one of the codes that the SII determines within the guide named "Formato Documentos Tributarios Electrónicos". The most used ones are:
Document Type | Description |
---|---|
30 | Invoice |
32 | Sales and services invoice exempt from VAT |
33 | Electronic invoice |
34 | Electronic invoice exempt from VAT |
35 | Ballot |
38 | Exempt ballot |
39 | Electronic ballot |
40 | Invoice settlement |
41 | Electronic exempt ballot |
43 | Electronic invoice settlement |
45 | Purchase invoice |
46 | Electronic purchase invoice |
47 | Total of the month special electronic voucher |
48 | Electronic payment |
50 | Office guide |
52 | Electronic office guide |
55 | Debit note |
56 | Electronic debit note |
60 | Credit note |
61 | Electronic credit note |
103 | Settlement |
110 | Electronic export invoice |
111 | Electronic export debit note |
112 | Electronic export credit note |
Servicio de Administración Tributaria (México)
If the fiscal authority is Servicio de Administración Tributaria (mx_fiscal_sat
), theinstitution_invoice
fields corresponds to the following objects:
InvoiceSAT Object
Attribute | Type | Description |
---|---|---|
|
| Corresponds to the RFC of the Certification Provider (Proveedor Autorizado de Certificación). |
|
| Corresponds to the versión of the Digital Fiscal Document through Internet (CFDI). Its most recent versions are |
|
| It corresponds to the type of CFDI. See all the CFDI types for information on its values. |
|
| Corresponds to the date at which the invoice was certified. |
|
| Corresponds to the exchange rate of the currency used to |
|
| Tax exempt amount represented as an integer. |
|
| Represents the info on the cancelation process. See |
|
| Represents the series of items traded which the invoice represents. See |
|
| Represents type of payment. It can be |
|
| Represents the code given by the SAT for different payment methods. Its values can be seen here. |
|
| Corresponds to the postal code of the place in which the receit of the invoice was made. |
|
| Represents the type of voucher of the invoice. It can be |
|
| Represents a SAT's id used to represent a specific invoice. |
Cancelation Object
Attribute | Type | Description |
---|---|---|
|
| It corrresponds to the description of the status of cancelation provided by the SAT. |
|
| It corresponds to the description of status in the cancelation process provided by the SAT. |
|
| If the invoice is canceled, then it represents the date of its cancelation. |
Item Object
Attribute | Type | Description |
---|---|---|
|
| Corresponds to the id given by the SAT to this specific item. |
|
| Corresponds to the id of the product which this item includes. |
|
| Corresponds to the amount of one unit of the product represented as an integer. |
|
| Represents the total amount of the item represented as an integer. |
|
| It represents the unit code provided by the SAT. |
|
| Corresponds to the quantity of the products in the item. As it can be potencially represented as a float, we send it as a |
|
| Corresponds to the item's description. |
|
| Corresponds to all the taxes which applied to the item. See |
Tax Object
Attribute | Type | Description |
---|---|---|
|
| Code which represents the tax, according to the SAT |
|
| Corresponds to the tax type. It can be |
|
| Corresponds to the amount of the tax represented as an integer. |
|
| Object which has 2 keys. |