v1
latestOpenAPI 3.0.22026-08-061464031.4 MBInvoices
Get an invoice's details
Get the details of a specific invoice.
{% admonition type="info" %} This resource may return deprecated fields. Please check the response documentation for more information. {% /admonition %}
get/api/invoices/{id}/
Path parameters
idstring uuid required
The invoice.id you want to get detailed information about.
Query parameters
omitstring
Omit certain fields from being returned in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
fieldsstring
Return only the specified fields in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
Response
Ok
Example response
{
"id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d",
"link": "30cb4806-6e00-48a4-91c9-ca55968576c8",
"collected_at": "2022-02-09T08:45:50.406032Z",
"created_at": "2022-02-09T08:45:50.406032Z",
"invoice_identification": "A1A1A1A1-2B2B-3C33-D44D-555555E55EE",
"invoice_date": "2019-12-01",
"status": "Vigente",
"invoice_type": "Ingreso",
"type": "INFLOW",
"tax_details": {
"total_tax_retained": 194.27,
"total_tax_transferred": 150.4,
"retained_taxes": [
{
"tax_type": "Tasa",
"tax": "ISR",
"tax_amount": 94
}
],
"transferred_taxes": [
{
"tax_type": "Tasa",
"tax": "IVA",
"tax_percentage": 16,
"pre_tax_amount": 940,
"tax_amount": 150.4
}
]
},
"sender_id": "AAA111111AA11",
"sender_fiscal_regime": "601",
"sender_name": "ACME CORP",
"sender_tax_fraud_status": "NO_TAX_FRAUD_STATUS",
"receiver_id": "BBB222222BB22",
"receiver_postal_code": "11560",
"receiver_fiscal_regime": "601",
"receiver_name": "BELVO CORP",
"receiver_tax_fraud_status": "NO_TAX_FRAUD_STATUS",
"cancelation_update_date": "2019-12-02",
"certification_date": "2019-12-01",
"certification_authority": "CCC333333CC33",
"payment_type": "99",
"payment_method": "PUE",
"usage": "P01",
"version": "3.3",
"place_of_issue": "01165",
"invoice_details": [
{
"collected_at": "2022-02-09T08:45:50.406032Z",
"description": "December 2019 accounting fees",
"product_identification": "84101600",
"quantity": 10,
"unit_code": "E48",
"unit_description": "Unidad de servicio",
"unit_amount": 200,
"discount": 10,
"tax_subject_code": "02",
"identifier_number": "PROD-12345",
"pre_tax_amount": 400,
"tax_percentage": 16,
"tax_amount": 64,
"total_amount": 464,
"retained_taxes": [
{
"collected_at": "2022-02-09T08:45:50.406032Z",
"tax_type": "Tasa",
"tax": "ISR",
"tax_percentage": 10,
"retained_tax_amount": 209.79
}
],
"transferred_taxes": [
{
"collected_at": "2022-02-09T08:45:50.406032Z",
"tax_type": "Tasa",
"tax": "IVA",
"tax_percentage": 10,
"transferred_tax_amount": 209.79
}
]
}
],
"currency": "MXN",
"subtotal_amount": 400,
"exchange_rate": 0.052,
"tax_amount": 64,
"discount_amount": 10,
"total_amount": 454,
"related_invoices": [
{
"relationship_type": "01",
"related_invoice_identification": "INV-123456"
}
],
"payments": [
{
"date": "2020-03-17T12:00:00.000Z",
"payment_type": "03",
"currency": "BRL",
"exchange_rate": "3.75",
"amount": 8000.5,
"operation_number": "831840",
"beneficiary_rfc": "BNM840515VB1",
"beneficiary_account_number": "12343453245633",
"payer_rfc": "BKJM840515VB1",
"payer_account_number": "13343663245699",
"payer_bank_name": "CITI BANAMEX",
"related_documents": [
{
"invoice_identification": "7EE015F3-6311-11EA-B02A-00155D014007",
"currency": "MXN",
"payment_method": "PPD",
"partiality_number": 1,
"previous_balance": 18877.84,
"amount_paid": 8000,
"outstanding_balance": 10877.84
}
]
}
],
"payroll": {
"days": 30,
"type": "O",
"amount": 20400.1,
"version": "1.2",
"date_from": "2018-07-01",
"date_to": "2018-07-31",
"collected_at": "2022-02-09T08:45:50.406032Z",
"payment_date": "2018-07-16",
"periodicity": "MONTHLY",
"earnings_breakdown": [
{
"type": "CHRISTMAS_BONUS",
"taxable_amount": 1505
}
],
"tax_deductions": [
{
"type": "UNION_FEES",
"amount": 1505
}
],
"other_payments": [
{
"type": "EMPLOYMENT_SUBSIDY",
"amount": 1505
}
]
},
"folio": "26",
"series": "A",
"export_type": "01",
"warnings": {
"code": "sat_xml_limit_reached",
"message": "The daily limit for XML downloads set by SAT was reached so this invoice\nmight be missing data. Please check https://tinyurl.com/yydzhy5d for more\ninformation on this error.\n"
}
}