Skip to content

Instantly share code, notes, and snippets.

@name1984
Created November 1, 2024 23:23
Show Gist options
  • Save name1984/5195e41a37e4bcd7a8ce53836b69e409 to your computer and use it in GitHub Desktop.
Save name1984/5195e41a37e4bcd7a8ce53836b69e409 to your computer and use it in GitHub Desktop.
{
"meta": {
"date": "2024-11-01T17:03:23.918Z",
"object_count": 1,
"type": "invoices"
},
"data": [
{
"ref": "24BC00149US2QUX29",
"partner_id": {
"ref": "BC00149",
"name": "TEST Travel LLC",
"vat": "471878835",
"country_id": "US"
},
"company_id": "PAO",
"invoice_date": "2024-09-25",
"check_in_date": "2025-02-12",
"max_cancel_date": "2025-02-08",
"is_refundable": true,
"journal_id": "BC00149",
"currency_id": "USD",
"l10n_mx_edi_payment_method_id": "03",
"type": "out_invoice",
"invoice_line_ids": [
{
"commission_id": 20,
"name": "AUBERGE ST LOUIS",
"price_unit": 52,
"product_id": "1",
"quantity": 1,
"sales_channel": "BC00149"
}
],
"multicurrency": {
"commission_fixed": 0,
"conversion_value": 52,
"currency": "USD",
"currency_amount": 52,
"rate": 0
},
"purchase_order_id": {
"currency_id": "USD",
"date_order": "2024-11015T17:03:23.918Z",
"due_date": "2024-11-01",
"partner_id": "75",
"partner_ref": "49X6T9",
"price_unit": 50
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment