Chilkat Online Tools

Unicode C++ / Egyptian eInvoicing SDK R1.5 / 1.1 Submit Documents (JSON) Debit

Back to Collection Items

void ChilkatSample(void)
    {
    json.UpdateString(L"documents[0].issuer.address.branchID",L"1");    json.UpdateString(L"documents[0].issuer.address.country",L"EG");    json.UpdateString(L"documents[0].issuer.address.governate",L"Cairo");    json.UpdateString(L"documents[0].issuer.address.regionCity",L"Nasr City");    json.UpdateString(L"documents[0].issuer.address.street",L"580 Clementina Key");    json.UpdateString(L"documents[0].issuer.address.buildingNumber",L"Bldg. 0");    json.UpdateString(L"documents[0].issuer.address.postalCode",L"68030");    json.UpdateString(L"documents[0].issuer.address.floor",L"1");    json.UpdateString(L"documents[0].issuer.address.room",L"123");    json.UpdateString(L"documents[0].issuer.address.landmark",L"7660 Melody Trail");    json.UpdateString(L"documents[0].issuer.address.additionalInformation",L"beside Townhall");    json.UpdateString(L"documents[0].issuer.type",L"B");    json.UpdateString(L"documents[0].issuer.id",L"113317713");    json.UpdateString(L"documents[0].issuer.name",L"Issuer Company");    json.UpdateString(L"documents[0].receiver.address.country",L"EG");    json.UpdateString(L"documents[0].receiver.address.governate",L"Egypt");    json.UpdateString(L"documents[0].receiver.address.regionCity",L"Mufazat al Ismlyah");    json.UpdateString(L"documents[0].receiver.address.street",L"580 Clementina Key");    json.UpdateString(L"documents[0].receiver.address.buildingNumber",L"Bldg. 0");    json.UpdateString(L"documents[0].receiver.address.postalCode",L"68030");    json.UpdateString(L"documents[0].receiver.address.floor",L"1");    json.UpdateString(L"documents[0].receiver.address.room",L"123");    json.UpdateString(L"documents[0].receiver.address.landmark",L"7660 Melody Trail");    json.UpdateString(L"documents[0].receiver.address.additionalInformation",L"beside Townhall");    json.UpdateString(L"documents[0].receiver.type",L"B");    json.UpdateString(L"documents[0].receiver.id",L"313717919");    json.UpdateString(L"documents[0].receiver.name",L"Receiver");    json.UpdateString(L"documents[0].documentType",L"D");    json.UpdateString(L"documents[0].documentTypeVersion",L"0.9");    json.UpdateString(L"documents[0].dateTimeIssued",L"2021-02-08T23:59:59Z");    json.UpdateString(L"documents[0].taxpayerActivityCode",L"4620");    json.UpdateString(L"documents[0].internalID",L"IID1");    json.UpdateString(L"documents[0].purchaseOrderReference",L"P-233-A6375");    json.UpdateString(L"documents[0].purchaseOrderDescription",L"purchase Order description");    json.UpdateString(L"documents[0].salesOrderReference",L"1231");    json.UpdateString(L"documents[0].salesOrderDescription",L"Sales Order description");    json.UpdateString(L"documents[0].proformaInvoiceNumber",L"SomeValue");    json.UpdateString(L"documents[0].references[0]",L"5Z40TP7SXAKADVH8WX71PXNE10");    json.UpdateString(L"documents[0].payment.bankName",L"SomeValue");    json.UpdateString(L"documents[0].payment.bankAddress",L"SomeValue");    json.UpdateString(L"documents[0].payment.bankAccountNo",L"SomeValue");    json.UpdateString(L"documents[0].payment.bankAccountIBAN",L"");    json.UpdateString(L"documents[0].payment.swiftCode",L"");    json.UpdateString(L"documents[0].payment.terms",L"SomeValue");    json.UpdateString(L"documents[0].delivery.approach",L"SomeValue");    json.UpdateString(L"documents[0].delivery.packaging",L"SomeValue");    json.UpdateString(L"documents[0].delivery.dateValidity",L"2020-09-28T09:30:10Z");    json.UpdateString(L"documents[0].delivery.exportPort",L"SomeValue");    json.UpdateString(L"documents[0].delivery.countryOfOrigin",L"EG");    json.UpdateNumber(L"documents[0].delivery.grossWeight",L"10.50");    json.UpdateNumber(L"documents[0].delivery.netWeight",L"20.50");    json.UpdateString(L"documents[0].delivery.terms",L"SomeValue");    json.UpdateString(L"documents[0].invoiceLines[0].description",L"Computer1");    json.UpdateString(L"documents[0].invoiceLines[0].itemType",L"EGS");    json.UpdateString(L"documents[0].invoiceLines[0].itemCode",L"EG-113317713-123456");    json.UpdateString(L"documents[0].invoiceLines[0].unitType",L"EA");    json.UpdateInt(L"documents[0].invoiceLines[0].quantity",5);    json.UpdateString(L"documents[0].invoiceLines[0].internalCode",L"IC0");    json.UpdateNumber(L"documents[0].invoiceLines[0].salesTotal",L"947.00");    json.UpdateNumber(L"documents[0].invoiceLines[0].total",L"2969.89");    json.UpdateNumber(L"documents[0].invoiceLines[0].valueDifference",L"7.00");    json.UpdateNumber(L"documents[0].invoiceLines[0].totalTaxableFees",L"817.42");    json.UpdateNumber(L"documents[0].invoiceLines[0].netTotal",L"880.71");    json.UpdateNumber(L"documents[0].invoiceLines[0].itemsDiscount",L"5.00");    json.UpdateString(L"documents[0].invoiceLines[0].unitValue.currencySold",L"EUR");    json.UpdateNumber(L"documents[0].invoiceLines[0].unitValue.amountEGP",L"189.40");    json.UpdateNumber(L"documents[0].invoiceLines[0].unitValue.amountSold",L"10.00");    json.UpdateNumber(L"documents[0].invoiceLines[0].unitValue.currencyExchangeRate",L"18.94");    json.UpdateInt(L"documents[0].invoiceLines[0].discount.rate",7);    json.UpdateNumber(L"documents[0].invoiceLines[0].discount.amount",L"66.29");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[0].taxType",L"T1");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[0].amount",L"272.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[0].subType",L"T1");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[0].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[1].taxType",L"T2");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[1].amount",L"208.22");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[1].subType",L"T2");    json.UpdateInt(L"documents[0].invoiceLines[0].taxableItems[1].rate",12);    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[2].taxType",L"T3");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[2].amount",L"30.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[2].subType",L"T3");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[2].rate",L"0.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[3].taxType",L"T4");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[3].amount",L"43.79");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[3].subType",L"T4");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[3].rate",L"5.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[4].taxType",L"T5");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[4].amount",L"123.30");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[4].subType",L"T5");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[4].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[5].taxType",L"T6");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[5].amount",L"60.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[5].subType",L"T6");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[5].rate",L"0.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[6].taxType",L"T7");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[6].amount",L"88.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[6].subType",L"T7");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[6].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[7].taxType",L"T8");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[7].amount",L"123.30");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[7].subType",L"T8");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[7].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[8].taxType",L"T9");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[8].amount",L"105.69");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[8].subType",L"T9");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[8].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[9].taxType",L"T10");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[9].amount",L"88.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[9].subType",L"T10");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[9].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[10].taxType",L"T11");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[10].amount",L"123.30");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[10].subType",L"T11");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[10].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[11].taxType",L"T12");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[11].amount",L"105.69");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[11].subType",L"T12");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[11].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[12].taxType",L"T13");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[12].amount",L"88.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[12].subType",L"T13");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[12].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[13].taxType",L"T14");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[13].amount",L"123.30");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[13].subType",L"T14");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[13].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[14].taxType",L"T15");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[14].amount",L"105.69");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[14].subType",L"T15");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[14].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[15].taxType",L"T16");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[15].amount",L"88.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[15].subType",L"T16");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[15].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[16].taxType",L"T17");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[16].amount",L"88.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[16].subType",L"T17");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[16].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[17].taxType",L"T18");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[17].amount",L"123.30");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[17].subType",L"T18");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[17].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[18].taxType",L"T19");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[18].amount",L"105.69");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[18].subType",L"T19");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[18].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[19].taxType",L"T20");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[19].amount",L"88.07");    json.UpdateString(L"documents[0].invoiceLines[0].taxableItems[19].subType",L"T20");    json.UpdateNumber(L"documents[0].invoiceLines[0].taxableItems[19].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].description",L"Computer2");    json.UpdateString(L"documents[0].invoiceLines[1].itemType",L"GPC");    json.UpdateString(L"documents[0].invoiceLines[1].itemCode",L"10003752");    json.UpdateString(L"documents[0].invoiceLines[1].unitType",L"EA");    json.UpdateInt(L"documents[0].invoiceLines[1].quantity",7);    json.UpdateString(L"documents[0].invoiceLines[1].internalCode",L"IC0");    json.UpdateNumber(L"documents[0].invoiceLines[1].salesTotal",L"662.90");    json.UpdateNumber(L"documents[0].invoiceLines[1].total",L"2226.61");    json.UpdateNumber(L"documents[0].invoiceLines[1].valueDifference",L"6.00");    json.UpdateNumber(L"documents[0].invoiceLines[1].totalTaxableFees",L"621.51");    json.UpdateNumber(L"documents[0].invoiceLines[1].netTotal",L"652.90");    json.UpdateNumber(L"documents[0].invoiceLines[1].itemsDiscount",L"9.00");    json.UpdateString(L"documents[0].invoiceLines[1].unitValue.currencySold",L"EUR");    json.UpdateNumber(L"documents[0].invoiceLines[1].unitValue.amountEGP",L"94.70");    json.UpdateNumber(L"documents[0].invoiceLines[1].unitValue.amountSold",L"5.00");    json.UpdateNumber(L"documents[0].invoiceLines[1].unitValue.currencyExchangeRate",L"18.94");    json.UpdateInt(L"documents[0].invoiceLines[1].discount.rate",0);    json.UpdateNumber(L"documents[0].invoiceLines[1].discount.amount",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[0].taxType",L"T1");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[0].amount",L"205.47");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[0].subType",L"T1");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[0].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[1].taxType",L"T2");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[1].amount",L"157.25");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[1].subType",L"T2");    json.UpdateInt(L"documents[0].invoiceLines[1].taxableItems[1].rate",12);    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[2].taxType",L"T3");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[2].amount",L"30.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[2].subType",L"T3");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[2].rate",L"0.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[3].taxType",L"T4");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[3].amount",L"32.20");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[3].subType",L"T4");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[3].rate",L"5.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[4].taxType",L"T5");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[4].amount",L"91.41");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[4].subType",L"T5");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[4].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[5].taxType",L"T6");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[5].amount",L"60.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[5].subType",L"T6");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[5].rate",L"0.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[6].taxType",L"T7");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[6].amount",L"65.29");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[6].subType",L"T7");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[6].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[7].taxType",L"T8");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[7].amount",L"91.41");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[7].subType",L"T8");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[7].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[8].taxType",L"T9");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[8].amount",L"78.35");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[8].subType",L"T9");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[8].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[9].taxType",L"T10");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[9].amount",L"65.29");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[9].subType",L"T10");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[9].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[10].taxType",L"T11");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[10].amount",L"91.41");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[10].subType",L"T11");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[10].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[11].taxType",L"T12");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[11].amount",L"78.35");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[11].subType",L"T12");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[11].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[12].taxType",L"T13");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[12].amount",L"65.29");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[12].subType",L"T13");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[12].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[13].taxType",L"T14");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[13].amount",L"91.41");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[13].subType",L"T14");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[13].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[14].taxType",L"T15");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[14].amount",L"78.35");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[14].subType",L"T15");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[14].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[15].taxType",L"T16");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[15].amount",L"65.29");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[15].subType",L"T16");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[15].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[16].taxType",L"T17");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[16].amount",L"65.29");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[16].subType",L"T17");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[16].rate",L"10.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[17].taxType",L"T18");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[17].amount",L"91.41");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[17].subType",L"T18");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[17].rate",L"14.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[18].taxType",L"T19");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[18].amount",L"78.35");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[18].subType",L"T19");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[18].rate",L"12.00");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[19].taxType",L"T20");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[19].amount",L"65.29");    json.UpdateString(L"documents[0].invoiceLines[1].taxableItems[19].subType",L"T20");    json.UpdateNumber(L"documents[0].invoiceLines[1].taxableItems[19].rate",L"10.00");    json.UpdateNumber(L"documents[0].totalDiscountAmount",L"76.29");    json.UpdateNumber(L"documents[0].totalSalesAmount",L"1609.90");    json.UpdateNumber(L"documents[0].netAmount",L"1533.61");    json.UpdateString(L"documents[0].taxTotals[0].taxType",L"T1");    json.UpdateNumber(L"documents[0].taxTotals[0].amount",L"477.54");    json.UpdateString(L"documents[0].taxTotals[1].taxType",L"T2");    json.UpdateNumber(L"documents[0].taxTotals[1].amount",L"365.47");    json.UpdateString(L"documents[0].taxTotals[2].taxType",L"T3");    json.UpdateNumber(L"documents[0].taxTotals[2].amount",L"60.00");    json.UpdateString(L"documents[0].taxTotals[3].taxType",L"T4");    json.UpdateNumber(L"documents[0].taxTotals[3].amount",L"75.99");    json.UpdateString(L"documents[0].taxTotals[4].taxType",L"T5");    json.UpdateNumber(L"documents[0].taxTotals[4].amount",L"214.71");    json.UpdateString(L"documents[0].taxTotals[5].taxType",L"T6");    json.UpdateNumber(L"documents[0].taxTotals[5].amount",L"120.00");    json.UpdateString(L"documents[0].taxTotals[6].taxType",L"T7");    json.UpdateNumber(L"documents[0].taxTotals[6].amount",L"153.36");    json.UpdateString(L"documents[0].taxTotals[7].taxType",L"T8");    json.UpdateNumber(L"documents[0].taxTotals[7].amount",L"214.71");    json.UpdateString(L"documents[0].taxTotals[8].taxType",L"T9");    json.UpdateNumber(L"documents[0].taxTotals[8].amount",L"184.04");    json.UpdateString(L"documents[0].taxTotals[9].taxType",L"T10");    json.UpdateNumber(L"documents[0].taxTotals[9].amount",L"153.36");    json.UpdateString(L"documents[0].taxTotals[10].taxType",L"T11");    json.UpdateNumber(L"documents[0].taxTotals[10].amount",L"214.71");    json.UpdateString(L"documents[0].taxTotals[11].taxType",L"T12");    json.UpdateNumber(L"documents[0].taxTotals[11].amount",L"184.04");    json.UpdateString(L"documents[0].taxTotals[12].taxType",L"T13");    json.UpdateNumber(L"documents[0].taxTotals[12].amount",L"153.36");    json.UpdateString(L"documents[0].taxTotals[13].taxType",L"T14");    json.UpdateNumber(L"documents[0].taxTotals[13].amount",L"214.71");    json.UpdateString(L"documents[0].taxTotals[14].taxType",L"T15");    json.UpdateNumber(L"documents[0].taxTotals[14].amount",L"184.04");    json.UpdateString(L"documents[0].taxTotals[15].taxType",L"T16");    json.UpdateNumber(L"documents[0].taxTotals[15].amount",L"153.36");    json.UpdateString(L"documents[0].taxTotals[16].taxType",L"T17");    json.UpdateNumber(L"documents[0].taxTotals[16].amount",L"153.36");    json.UpdateString(L"documents[0].taxTotals[17].taxType",L"T18");    json.UpdateNumber(L"documents[0].taxTotals[17].amount",L"214.71");    json.UpdateString(L"documents[0].taxTotals[18].taxType",L"T19");    json.UpdateNumber(L"documents[0].taxTotals[18].amount",L"184.04");    json.UpdateString(L"documents[0].taxTotals[19].taxType",L"T20");    json.UpdateNumber(L"documents[0].taxTotals[19].amount",L"153.36");    json.UpdateNumber(L"documents[0].totalAmount",L"5191.50");    json.UpdateNumber(L"documents[0].extraDiscountAmount",L"5.00");    json.UpdateNumber(L"documents[0].totalItemsDiscountAmount",L"14.00");    json.UpdateString(L"documents[0].signatures[0].signatureType",L"I");    json.UpdateString(L"documents[0].signatures[0].value",L"MIIGywYJKoZIhvcNAQcCoIIGvDCCBrgCAQMxDTALBglghkgBZQMEAgEwCwYJKoZIhvcNAQcFoIID/zCCA/swggLjoAMCAQICEEFkOqRVlVar0F0n3FZOLiIwDQYJKoZIhvcNAQELBQAwSTELMAkGA1UEBhMCRUcxFDASBgNVBAoTC0VneXB0IFRydXN0MSQwIgYDVQQDExtFZ3lwdCBUcnVzdCBDb3Jwb3JhdGUgQ0EgRzIwHhcNMjAwMzMxMDAwMDAwWhcNMjEwMzMwMjM1OTU5WjBgMRUwEwYDVQQKFAxFZ3lwdCBUcnVzdCAxGDAWBgNVBGEUD1ZBVEVHLTExMzMxNzcxMzELMAkGA1UEBhMCRUcxIDAeBgNVBAMMF1Rlc3QgU2VhbGluZyBEZW1vIHVzZXIyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApmVGVJtpImeq+tIJiVWSkIEEOTIcnG1XNYQOYtf5+Dg9eF5H5x1wkgR2G7dvWVXrTsdNv2Q+gvml9SdfWxlYxaljg2AuBrsHFjYVEAQFI37EW2K7tbMT7bfxwT1M5tbjxnkTTK12cgwxPr2LBNhHpfXp8SNyWCxpk6eyJb87DveVwCLbAGGXO9mhDj62glVTrCFit7mHC6bZ6MOMAp013B8No9c8xnrKQiOb4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BCZnTCBngYLKoZIhvcNAQkQAi8xgY4wgYswgYgwgYUEIAJA8uO/ek3l9i3ZOgRtPhGWwwFYljbeJ7yAgEnyYNCWMGEwTaBLMEkxCzAJBgNVBAYTAkVHMRQwEgYDVQQKEwtFZ3lwdCBUcnVzdDEkMCIGA1UEAxMbRWd5cHQgVHJ1c3QgQ29ycG9yYXRlIENBIEcyAhBBZDqkVZVWq9BdJ9xWTi4iMAsGCSqGSIb3DQEBAQSCAQCDrv7l41A+N625X9UnEYIXENciomWehs4UgFcgQgsTP7eaNoOPk4fQDUyuW4bIArNWnTn5qrTrSCh/hFA4HGNV8942KNQaUDwSIrKImE2aMpsjyrfV6rIP2R9HJnk0Gx7M7lT0dtwV1Yw0GyZ+NQjQZrGrH+I5RXixZPPOm2jxI9SwyX0X9yFIT2BvVkUhb9qqzxP+X/HL3yI3LlIHcITgckKzucjjCiG61EsasCR/gHhGjUbacJXJvC3IQbk+LNUi7tqGM2rCWZZaFcaKTUCU6vLfXgwcbIdWidOIf6xVFE4Gy6Zx/k3S/7/4KprPyKeCm5hZVll19SIcOKNGRSzW");    http.put_AuthToken(L"<access_token>");
    }

Curl Command

curl -X POST
	-H "Authorization: Bearer <access_token>"
	-d '{
    "documents": [
        {
            "issuer": {
                "address": {
                    "branchID": "1",
                    "country": "EG",
                    "governate": "Cairo",
                    "regionCity": "Nasr City",
                    "street": "580 Clementina Key",
                    "buildingNumber": "Bldg. 0",
                    "postalCode": "68030",
                    "floor": "1",
                    "room": "123",
                    "landmark": "7660 Melody Trail",
                    "additionalInformation": "beside Townhall"
                },
                "type": "B",
                "id": "113317713",
                "name": "Issuer Company"
            },
            "receiver": {
                "address": {
                    "country": "EG",
                    "governate": "Egypt",
                    "regionCity": "Mufazat al Ismlyah",
                    "street": "580 Clementina Key",
                    "buildingNumber": "Bldg. 0",
                    "postalCode": "68030",
                    "floor": "1",
                    "room": "123",
                    "landmark": "7660 Melody Trail",
                    "additionalInformation": "beside Townhall"
                },
                "type": "B",
                "id": "313717919",
                "name": "Receiver"
            },
            "documentType": "D",
            "documentTypeVersion": "0.9",
            "dateTimeIssued": "2021-02-08T23:59:59Z",
            "taxpayerActivityCode": "4620",
            "internalID": "IID1",
            "purchaseOrderReference": "P-233-A6375",
            "purchaseOrderDescription": "purchase Order description",
            "salesOrderReference": "1231",
            "salesOrderDescription": "Sales Order description",
            "proformaInvoiceNumber": "SomeValue",
              "references": [
                "5Z40TP7SXAKADVH8WX71PXNE10"
            ],
            "payment": {
                "bankName": "SomeValue",
                "bankAddress": "SomeValue",
                "bankAccountNo": "SomeValue",
                "bankAccountIBAN": "",
                "swiftCode": "",
                "terms": "SomeValue"
            },
            "delivery": {
                "approach": "SomeValue",
                "packaging": "SomeValue",
                "dateValidity": "2020-09-28T09:30:10Z",
                "exportPort": "SomeValue",
                "countryOfOrigin": "EG",
                "grossWeight": 10.50,
                "netWeight": 20.50,
                "terms": "SomeValue"
            },
            "invoiceLines": [
                {
                    "description": "Computer1",
                    "itemType": "EGS",
                    "itemCode": "EG-113317713-123456",
                    "unitType": "EA",
                    "quantity": 5,
                    "internalCode": "IC0",
                    "salesTotal": 947.00,
                    "total": 2969.89,
                    "valueDifference": 7.00,
                    "totalTaxableFees": 817.42,
                    "netTotal": 880.71,
                    "itemsDiscount": 5.00,
                    "unitValue": {
                        "currencySold": "EUR",
                        "amountEGP": 189.40,
                        "amountSold": 10.00,
                        "currencyExchangeRate": 18.94
                    },
                    "discount": {
                        "rate": 7,
                        "amount": 66.29
                    },
                    "taxableItems": [
                        {
                            "taxType": "T1",
                            "amount": 272.07,
                            "subType": "T1",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T2",
                            "amount": 208.22,
                            "subType": "T2",
                            "rate": 12
                        },
                        {
                            "taxType": "T3",
                            "amount": 30.00,
                            "subType": "T3",
                            "rate": 0.00
                        },
                        {
                            "taxType": "T4",
                            "amount": 43.79,
                            "subType": "T4",
                            "rate": 5.00
                        },
                        {
                            "taxType": "T5",
                            "amount": 123.30,
                            "subType": "T5",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T6",
                            "amount": 60.00,
                            "subType": "T6",
                            "rate": 0.00
                        },
                        {
                            "taxType": "T7",
                            "amount": 88.07,
                            "subType": "T7",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T8",
                            "amount": 123.30,
                            "subType": "T8",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T9",
                            "amount": 105.69,
                            "subType": "T9",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T10",
                            "amount": 88.07,
                            "subType": "T10",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T11",
                            "amount": 123.30,
                            "subType": "T11",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T12",
                            "amount": 105.69,
                            "subType": "T12",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T13",
                            "amount": 88.07,
                            "subType": "T13",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T14",
                            "amount": 123.30,
                            "subType": "T14",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T15",
                            "amount": 105.69,
                            "subType": "T15",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T16",
                            "amount": 88.07,
                            "subType": "T16",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T17",
                            "amount": 88.07,
                            "subType": "T17",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T18",
                            "amount": 123.30,
                            "subType": "T18",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T19",
                            "amount": 105.69,
                            "subType": "T19",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T20",
                            "amount": 88.07,
                            "subType": "T20",
                            "rate": 10.00
                        }
                    ]
                },
                {
                    "description": "Computer2",
                    "itemType": "GPC",
                    "itemCode": "10003752",
                    "unitType": "EA",
                    "quantity": 7,
                    "internalCode": "IC0",
                    "salesTotal": 662.90,
                    "total": 2226.61,
                    "valueDifference": 6.00,
                    "totalTaxableFees": 621.51,
                    "netTotal": 652.90,
                    "itemsDiscount": 9.00,
                    "unitValue": {
                        "currencySold": "EUR",
                        "amountEGP": 94.70,
                        "amountSold": 5.00,
                        "currencyExchangeRate": 18.94
                    },
                    "discount": {
                        "rate": 0,
                        "amount": 10.00
                    },
                    "taxableItems": [
                        {
                            "taxType": "T1",
                            "amount": 205.47,
                            "subType": "T1",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T2",
                            "amount": 157.25,
                            "subType": "T2",
                            "rate": 12
                        },
                        {
                            "taxType": "T3",
                            "amount": 30.00,
                            "subType": "T3",
                            "rate": 0.00
                        },
                        {
                            "taxType": "T4",
                            "amount": 32.20,
                            "subType": "T4",
                            "rate": 5.00
                        },
                        {
                            "taxType": "T5",
                            "amount": 91.41,
                            "subType": "T5",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T6",
                            "amount": 60.00,
                            "subType": "T6",
                            "rate": 0.00
                        },
                        {
                            "taxType": "T7",
                            "amount": 65.29,
                            "subType": "T7",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T8",
                            "amount": 91.41,
                            "subType": "T8",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T9",
                            "amount": 78.35,
                            "subType": "T9",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T10",
                            "amount": 65.29,
                            "subType": "T10",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T11",
                            "amount": 91.41,
                            "subType": "T11",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T12",
                            "amount": 78.35,
                            "subType": "T12",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T13",
                            "amount": 65.29,
                            "subType": "T13",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T14",
                            "amount": 91.41,
                            "subType": "T14",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T15",
                            "amount": 78.35,
                            "subType": "T15",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T16",
                            "amount": 65.29,
                            "subType": "T16",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T17",
                            "amount": 65.29,
                            "subType": "T17",
                            "rate": 10.00
                        },
                        {
                            "taxType": "T18",
                            "amount": 91.41,
                            "subType": "T18",
                            "rate": 14.00
                        },
                        {
                            "taxType": "T19",
                            "amount": 78.35,
                            "subType": "T19",
                            "rate": 12.00
                        },
                        {
                            "taxType": "T20",
                            "amount": 65.29,
                            "subType": "T20",
                            "rate": 10.00
                        }
                    ]
                }
            ],
            "totalDiscountAmount": 76.29,
            "totalSalesAmount": 1609.90,
            "netAmount": 1533.61,
            "taxTotals": [
                {
                    "taxType": "T1",
                    "amount": 477.54
                },
                {
                    "taxType": "T2",
                    "amount": 365.47
                },
                {
                    "taxType": "T3",
                    "amount": 60.00
                },
                {
                    "taxType": "T4",
                    "amount": 75.99
                },
                {
                    "taxType": "T5",
                    "amount": 214.71
                },
                {
                    "taxType": "T6",
                    "amount": 120.00
                },
                {
                    "taxType": "T7",
                    "amount": 153.36
                },
                {
                    "taxType": "T8",
                    "amount": 214.71
                },
                {
                    "taxType": "T9",
                    "amount": 184.04
                },
                {
                    "taxType": "T10",
                    "amount": 153.36
                },
                {
                    "taxType": "T11",
                    "amount": 214.71
                },
                {
                    "taxType": "T12",
                    "amount": 184.04
                },
                {
                    "taxType": "T13",
                    "amount": 153.36
                },
                {
                    "taxType": "T14",
                    "amount": 214.71
                },
                {
                    "taxType": "T15",
                    "amount": 184.04
                },
                {
                    "taxType": "T16",
                    "amount": 153.36
                },
                {
                    "taxType": "T17",
                    "amount": 153.36
                },
                {
                    "taxType": "T18",
                    "amount": 214.71
                },
                {
                    "taxType": "T19",
                    "amount": 184.04
                },
                {
                    "taxType": "T20",
                    "amount": 153.36
                }
            ],
            "totalAmount": 5191.50,
            "extraDiscountAmount": 5.00,
            "totalItemsDiscountAmount": 14.00,
            "signatures": [
                {
                    "signatureType": "I",
                    "value": "MIIGywYJKoZIhvcNAQcCoIIGvDCCBrgCAQMxDTALBglghkgBZQMEAgEwCwYJKoZIhvcNAQcFoIID/zCCA/swggLjoAMCAQICEEFkOqRVlVar0F0n3FZOLiIwDQYJKoZIh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BX/HL3yI3LlIHcITgckKzucjjCiG61EsasCR/gHhGjUbacJXJvC3IQbk\u002BLNUi7tqGM2rCWZZaFcaKTUCU6vLfXgwcbIdWidOIf6xVFE4Gy6Zx/k3S/7/4KprPyKeCm5hZVll19SIcOKNGRSzW"
                }
            ]
        }
    ]
}'
https://domain.com/api/v1/documentsubmissions

Postman Collection Item JSON

{
  "name": "1.1 Submit Documents (JSON) Debit",
  "request": {
    "auth": {
      "type": "bearer",
      "bearer": [
        {
          "key": "token",
          "value": "{{generatedAccessToken}}",
          "type": "string"
        }
      ]
    },
    "method": "POST",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": "{\r\n    \"documents\": [\r\n        {\r\n            \"issuer\": {\r\n                \"address\": {\r\n                    \"branchID\": \"1\",\r\n                    \"country\": \"EG\",\r\n                    \"governate\": \"Cairo\",\r\n                    \"regionCity\": \"Nasr City\",\r\n                    \"street\": \"580 Clementina Key\",\r\n                    \"buildingNumber\": \"Bldg. 0\",\r\n                    \"postalCode\": \"68030\",\r\n                    \"floor\": \"1\",\r\n                    \"room\": \"123\",\r\n                    \"landmark\": \"7660 Melody Trail\",\r\n                    \"additionalInformation\": \"beside Townhall\"\r\n                },\r\n                \"type\": \"B\",\r\n                \"id\": \"113317713\",\r\n                \"name\": \"Issuer Company\"\r\n            },\r\n            \"receiver\": {\r\n                \"address\": {\r\n                    \"country\": \"EG\",\r\n                    \"governate\": \"Egypt\",\r\n                    \"regionCity\": \"Mufazat al Ismlyah\",\r\n                    \"street\": \"580 Clementina Key\",\r\n                    \"buildingNumber\": \"Bldg. 0\",\r\n                    \"postalCode\": \"68030\",\r\n                    \"floor\": \"1\",\r\n                    \"room\": \"123\",\r\n                    \"landmark\": \"7660 Melody Trail\",\r\n                    \"additionalInformation\": \"beside Townhall\"\r\n                },\r\n                \"type\": \"B\",\r\n                \"id\": \"313717919\",\r\n                \"name\": \"Receiver\"\r\n            },\r\n            \"documentType\": \"D\",\r\n            \"documentTypeVersion\": \"0.9\",\r\n            \"dateTimeIssued\": \"2021-02-08T23:59:59Z\",\r\n            \"taxpayerActivityCode\": \"4620\",\r\n            \"internalID\": \"IID1\",\r\n            \"purchaseOrderReference\": \"P-233-A6375\",\r\n            \"purchaseOrderDescription\": \"purchase Order description\",\r\n            \"salesOrderReference\": \"1231\",\r\n            \"salesOrderDescription\": \"Sales Order description\",\r\n            \"proformaInvoiceNumber\": \"SomeValue\",\r\n              \"references\": [\r\n                \"5Z40TP7SXAKADVH8WX71PXNE10\"\r\n            ],\r\n            \"payment\": {\r\n                \"bankName\": \"SomeValue\",\r\n                \"bankAddress\": \"SomeValue\",\r\n                \"bankAccountNo\": \"SomeValue\",\r\n                \"bankAccountIBAN\": \"\",\r\n                \"swiftCode\": \"\",\r\n                \"terms\": \"SomeValue\"\r\n            },\r\n            \"delivery\": {\r\n                \"approach\": \"SomeValue\",\r\n                \"packaging\": \"SomeValue\",\r\n                \"dateValidity\": \"2020-09-28T09:30:10Z\",\r\n                \"exportPort\": \"SomeValue\",\r\n                \"countryOfOrigin\": \"EG\",\r\n                \"grossWeight\": 10.50,\r\n                \"netWeight\": 20.50,\r\n                \"terms\": \"SomeValue\"\r\n            },\r\n            \"invoiceLines\": [\r\n                {\r\n                    \"description\": \"Computer1\",\r\n                    \"itemType\": \"EGS\",\r\n                    \"itemCode\": \"EG-113317713-123456\",\r\n                    \"unitType\": \"EA\",\r\n                    \"quantity\": 5,\r\n                    \"internalCode\": \"IC0\",\r\n                    \"salesTotal\": 947.00,\r\n                    \"total\": 2969.89,\r\n                    \"valueDifference\": 7.00,\r\n                    \"totalTaxableFees\": 817.42,\r\n                    \"netTotal\": 880.71,\r\n                    \"itemsDiscount\": 5.00,\r\n                    \"unitValue\": {\r\n                        \"currencySold\": \"EUR\",\r\n                        \"amountEGP\": 189.40,\r\n                        \"amountSold\": 10.00,\r\n                        \"currencyExchangeRate\": 18.94\r\n                    },\r\n                    \"discount\": {\r\n                        \"rate\": 7,\r\n                        \"amount\": 66.29\r\n                    },\r\n                    \"taxableItems\": [\r\n                        {\r\n                            \"taxType\": \"T1\",\r\n                            \"amount\": 272.07,\r\n                            \"subType\": \"T1\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T2\",\r\n                            \"amount\": 208.22,\r\n                            \"subType\": \"T2\",\r\n                            \"rate\": 12\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T3\",\r\n                            \"amount\": 30.00,\r\n                            \"subType\": \"T3\",\r\n                            \"rate\": 0.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T4\",\r\n                            \"amount\": 43.79,\r\n                            \"subType\": \"T4\",\r\n                            \"rate\": 5.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T5\",\r\n                            \"amount\": 123.30,\r\n                            \"subType\": \"T5\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T6\",\r\n                            \"amount\": 60.00,\r\n                            \"subType\": \"T6\",\r\n                            \"rate\": 0.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T7\",\r\n                            \"amount\": 88.07,\r\n                            \"subType\": \"T7\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T8\",\r\n                            \"amount\": 123.30,\r\n                            \"subType\": \"T8\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T9\",\r\n                            \"amount\": 105.69,\r\n                            \"subType\": \"T9\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T10\",\r\n                            \"amount\": 88.07,\r\n                            \"subType\": \"T10\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T11\",\r\n                            \"amount\": 123.30,\r\n                            \"subType\": \"T11\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T12\",\r\n                            \"amount\": 105.69,\r\n                            \"subType\": \"T12\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T13\",\r\n                            \"amount\": 88.07,\r\n                            \"subType\": \"T13\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T14\",\r\n                            \"amount\": 123.30,\r\n                            \"subType\": \"T14\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T15\",\r\n                            \"amount\": 105.69,\r\n                            \"subType\": \"T15\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T16\",\r\n                            \"amount\": 88.07,\r\n                            \"subType\": \"T16\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T17\",\r\n                            \"amount\": 88.07,\r\n                            \"subType\": \"T17\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T18\",\r\n                            \"amount\": 123.30,\r\n                            \"subType\": \"T18\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T19\",\r\n                            \"amount\": 105.69,\r\n                            \"subType\": \"T19\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T20\",\r\n                            \"amount\": 88.07,\r\n                            \"subType\": \"T20\",\r\n                            \"rate\": 10.00\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"description\": \"Computer2\",\r\n                    \"itemType\": \"GPC\",\r\n                    \"itemCode\": \"10003752\",\r\n                    \"unitType\": \"EA\",\r\n                    \"quantity\": 7,\r\n                    \"internalCode\": \"IC0\",\r\n                    \"salesTotal\": 662.90,\r\n                    \"total\": 2226.61,\r\n                    \"valueDifference\": 6.00,\r\n                    \"totalTaxableFees\": 621.51,\r\n                    \"netTotal\": 652.90,\r\n                    \"itemsDiscount\": 9.00,\r\n                    \"unitValue\": {\r\n                        \"currencySold\": \"EUR\",\r\n                        \"amountEGP\": 94.70,\r\n                        \"amountSold\": 5.00,\r\n                        \"currencyExchangeRate\": 18.94\r\n                    },\r\n                    \"discount\": {\r\n                        \"rate\": 0,\r\n                        \"amount\": 10.00\r\n                    },\r\n                    \"taxableItems\": [\r\n                        {\r\n                            \"taxType\": \"T1\",\r\n                            \"amount\": 205.47,\r\n                            \"subType\": \"T1\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T2\",\r\n                            \"amount\": 157.25,\r\n                            \"subType\": \"T2\",\r\n                            \"rate\": 12\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T3\",\r\n                            \"amount\": 30.00,\r\n                            \"subType\": \"T3\",\r\n                            \"rate\": 0.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T4\",\r\n                            \"amount\": 32.20,\r\n                            \"subType\": \"T4\",\r\n                            \"rate\": 5.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T5\",\r\n                            \"amount\": 91.41,\r\n                            \"subType\": \"T5\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T6\",\r\n                            \"amount\": 60.00,\r\n                            \"subType\": \"T6\",\r\n                            \"rate\": 0.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T7\",\r\n                            \"amount\": 65.29,\r\n                            \"subType\": \"T7\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T8\",\r\n                            \"amount\": 91.41,\r\n                            \"subType\": \"T8\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T9\",\r\n                            \"amount\": 78.35,\r\n                            \"subType\": \"T9\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T10\",\r\n                            \"amount\": 65.29,\r\n                            \"subType\": \"T10\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T11\",\r\n                            \"amount\": 91.41,\r\n                            \"subType\": \"T11\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T12\",\r\n                            \"amount\": 78.35,\r\n                            \"subType\": \"T12\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T13\",\r\n                            \"amount\": 65.29,\r\n                            \"subType\": \"T13\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T14\",\r\n                            \"amount\": 91.41,\r\n                            \"subType\": \"T14\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T15\",\r\n                            \"amount\": 78.35,\r\n                            \"subType\": \"T15\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T16\",\r\n                            \"amount\": 65.29,\r\n                            \"subType\": \"T16\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T17\",\r\n                            \"amount\": 65.29,\r\n                            \"subType\": \"T17\",\r\n                            \"rate\": 10.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T18\",\r\n                            \"amount\": 91.41,\r\n                            \"subType\": \"T18\",\r\n                            \"rate\": 14.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T19\",\r\n                            \"amount\": 78.35,\r\n                            \"subType\": \"T19\",\r\n                            \"rate\": 12.00\r\n                        },\r\n                        {\r\n                            \"taxType\": \"T20\",\r\n                            \"amount\": 65.29,\r\n                            \"subType\": \"T20\",\r\n                            \"rate\": 10.00\r\n                        }\r\n                    ]\r\n                }\r\n            ],\r\n            \"totalDiscountAmount\": 76.29,\r\n            \"totalSalesAmount\": 1609.90,\r\n            \"netAmount\": 1533.61,\r\n            \"taxTotals\": [\r\n                {\r\n                    \"taxType\": \"T1\",\r\n                    \"amount\": 477.54\r\n                },\r\n                {\r\n                    \"taxType\": \"T2\",\r\n                    \"amount\": 365.47\r\n                },\r\n                {\r\n                    \"taxType\": \"T3\",\r\n                    \"amount\": 60.00\r\n                },\r\n                {\r\n                    \"taxType\": \"T4\",\r\n                    \"amount\": 75.99\r\n                },\r\n                {\r\n                    \"taxType\": \"T5\",\r\n                    \"amount\": 214.71\r\n                },\r\n                {\r\n                    \"taxType\": \"T6\",\r\n                    \"amount\": 120.00\r\n                },\r\n                {\r\n                    \"taxType\": \"T7\",\r\n                    \"amount\": 153.36\r\n                },\r\n                {\r\n                    \"taxType\": \"T8\",\r\n                    \"amount\": 214.71\r\n                },\r\n                {\r\n                    \"taxType\": \"T9\",\r\n                    \"amount\": 184.04\r\n                },\r\n                {\r\n                    \"taxType\": \"T10\",\r\n                    \"amount\": 153.36\r\n                },\r\n                {\r\n                    \"taxType\": \"T11\",\r\n                    \"amount\": 214.71\r\n                },\r\n                {\r\n                    \"taxType\": \"T12\",\r\n                    \"amount\": 184.04\r\n                },\r\n                {\r\n                    \"taxType\": \"T13\",\r\n                    \"amount\": 153.36\r\n                },\r\n                {\r\n                    \"taxType\": \"T14\",\r\n                    \"amount\": 214.71\r\n                },\r\n                {\r\n                    \"taxType\": \"T15\",\r\n                    \"amount\": 184.04\r\n                },\r\n                {\r\n                    \"taxType\": \"T16\",\r\n                    \"amount\": 153.36\r\n                },\r\n                {\r\n                    \"taxType\": \"T17\",\r\n                    \"amount\": 153.36\r\n                },\r\n                {\r\n                    \"taxType\": \"T18\",\r\n                    \"amount\": 214.71\r\n                },\r\n                {\r\n                    \"taxType\": \"T19\",\r\n                    \"amount\": 184.04\r\n                },\r\n                {\r\n                    \"taxType\": \"T20\",\r\n                    \"amount\": 153.36\r\n                }\r\n            ],\r\n            \"totalAmount\": 5191.50,\r\n            \"extraDiscountAmount\": 5.00,\r\n            \"totalItemsDiscountAmount\": 14.00,\r\n            \"signatures\": [\r\n                {\r\n                    \"signatureType\": \"I\",\r\n                    \"value\": \"MIIGywYJKoZIhvcNAQcCoIIGvDCCBrgCAQMxDTALBglghkgBZQMEAgEwCwYJKoZIhvcNAQcFoIID/zCCA/swggLjoAMCAQICEEFkOqRVlVar0F0n3FZOLiIwDQYJKoZIhvcNAQELBQAwSTELMAkGA1UEBhMC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I3LlIHcITgckKzucjjCiG61EsasCR/gHhGjUbacJXJvC3IQbk\\u002BLNUi7tqGM2rCWZZaFcaKTUCU6vLfXgwcbIdWidOIf6xVFE4Gy6Zx/k3S/7/4KprPyKeCm5hZVll19SIcOKNGRSzW\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}",
      "options": {
        "raw": {
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{{apiBaseUrl}}/api/v1/documentsubmissions",
      "host": [
        "{{apiBaseUrl}}"
      ],
      "path": [
        "api",
        "v1",
        "documentsubmissions"
      ]
    }
  },
  "response": [
  ]
}