Skip to content

Instantly share code, notes, and snippets.

@marwan-nwh
Created October 16, 2022 13:00
Show Gist options
  • Save marwan-nwh/e0fb94bcec7f9f6c575176f0c2921fcd to your computer and use it in GitHub Desktop.
Save marwan-nwh/e0fb94bcec7f9f6c575176f0c2921fcd to your computer and use it in GitHub Desktop.
{
"code": 200,
"invoices": [
{
"document_type": "I",
"number": "...",
"purchase_order_reference": "",
"purchase_order_description": "",
"sales_order_reference": "",
"sales_order_description": "",
"proforma_invoice_number": "",
"currency": "EGP",
"subsidiary": 1,
"branch_id": "0",
"taxpayer_activity_code": "...",
"currency_exchange_rate": 1,
"invoice_date": "18/Sep/2022",
"invoice_due_date": "18/Sep/2022",
"customer": {
"name": "...",
"tax_id": "...",
"type": "B",
"country": "EG",
"state": "Cairo",
"city": "Cairo",
"street": "...",
"building_number": "0",
"postal_code": "11111",
"governate": "Cairo",
"region_city": "Cairo",
"floor": "",
"room": "",
"landmark": "EG",
"additional_information": "EG"
},
"bank": {
"bank_name": "",
"bank_account_number": "",
"swift_code": "",
"iban": "",
"bank_address": ""
},
"delivery_terms": "",
"items": [
{
"discount_amount": 0,
"discount_rate": 3,
"description": "...",
"type": "GS1",
"code": "10007603",
"tax_rate": 14,
"tax_type": "T1",
"tax_sub_type": "V009",
"quantity": 1,
"internal_code": "7",
"total_price": 10,
"unit_type": "EA",
"unit_price": 10,
"name": "..."
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment