Skip to content

Instantly share code, notes, and snippets.

@name1984
Created November 1, 2024 23:33
Show Gist options
  • Save name1984/3a33c8b7c76f2b0fcbe8ea0a61921016 to your computer and use it in GitHub Desktop.
Save name1984/3a33c8b7c76f2b0fcbe8ea0a61921016 to your computer and use it in GitHub Desktop.
{
"meta": {
"date": "2024-10-31T21:13:03.032Z",
"object_count": 1,
"type": "invoices"
},
"data": [
{
"ref": "24MB20002MX2UJC7Z",
"partner_id": {
"ref": "MB20002",
"name": "NAO CRUISES",
"vat": "NCR2001161R6",
"country_id": "MX"
},
"company_id": "PAO",
"invoice_date": "2024-10-31",
"check_in_date": "2024-12-17",
"max_cancel_date": "2024-12-15",
"is_refundable": true,
"journal_id": "MB20002",
"currency_id": "USD",
"l10n_mx_edi_payment_method_id": "03",
"move_type": "out_invoice",
"invoice_line_ids": [
{
"commission_id": 33,
"name": "HOTEL INDIGO NEW YORK DOWNTOWN - WALL ST",
"price_unit": 276,
"product_id": "1",
"quantity": 1,
"sales_channel": "V200004"
}
],
"multicurrency": {
"commission_fixed": 0,
"conversion_value": 276,
"currency": "USD",
"currency_amount": 276,
"rate": 0
},
"purchase_order_id": {
"currency_id": "USD",
"date_order": "2024-10-31T21:13:03.032Z",
"due_date": "2024-10-31",
"partner_id": "57",
"partner_ref": "254-6200819",
"price_unit": 220
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment