Skip to content

Instantly share code, notes, and snippets.

@johnbahamon
Created January 29, 2021 14:28
Show Gist options
  • Save johnbahamon/edeee534bf252b960c593b0fb240d51f to your computer and use it in GitHub Desktop.
Save johnbahamon/edeee534bf252b960c593b0fb240d51f to your computer and use it in GitHub Desktop.
{
"number": 990010015,
"type_document_id": 1,
"resolution_number": "18760000001",
"date": "2020-07-14",
"time": "06:08:12",
"sendmail": true,
"customer": {
"identification_number": 222222222222,
"name": "CONSUMIDOR FINAL",
"merchant_registration": "0000000-00"
},
"payment_form": {
"payment_form_id": 1,
"payment_method_id": 10,
"payment_due_date": "2020-07-14",
"duration_measure": "0"
},
"allowance_charges": [
{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "840336.13"
}
],
"legal_monetary_totals": {
"line_extension_amount": "840336.13",
"tax_exclusive_amount": "840336.13",
"tax_inclusive_amount": "1000000.00",
"allowance_total_amount": "0.00",
"charge_total_amount": "0.00",
"payable_amount": "1000000.00"
},
"tax_totals":
[
{
"tax_id": 1,
"tax_amount": "159663.86",
"percent": "19",
"taxable_amount": "840336.13"
}
],
"invoice_lines":
[
{
"unit_measure_id": 70,
"invoiced_quantity": "1",
"line_extension_amount": "840336.13",
"free_of_charge_indicator": false,
"allowance_charges": [{
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000.00"
}
],
"tax_totals": [
{
"tax_id": 1,
"tax_amount": "159663.86",
"taxable_amount": "840336.13",
"percent": "19.00"
}
],
"description": "COMISION POR SERVICIOS",
"code": "COMISION",
"type_item_identification_id": 4,
"price_amount": "840336.13",
"base_quantity": "1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment