POST api/v1/SelingRetSubmissions?EInvMode={EInvMode}&ActivityTypeCode={ActivityTypeCode}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| SalRetInvModelList | No documentation available. |
Define this parameter in the request body. |
| EInvMode | No documentation available. |
Define this parameter in the request URI. |
| ActivityTypeCode | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
[
{
"$id": "1",
"SellingRetId": 1,
"SellingRetName": "sample string 2",
"SellingRetVal": 1.1,
"SellingRetDate": "2025-12-10T14:47:31.014437-08:00",
"SellingRetNotes": "sample string 4",
"SellingRetType": "sample string 5",
"CustomerID": 1,
"CustomerName": "sample string 6",
"SellingRetDisc": 1.1,
"SellingRetTot": 1.1,
"StoreId": 1,
"StoreName": "sample string 7",
"SellingRetDiscRatio": 1.1,
"SellingRetNo": "sample string 8",
"AgentId": 1,
"EntryUserId": 1,
"TreasuryId": 1,
"sellingRetDets": [
{
"$id": "2",
"SerNo": 1,
"SellingRetID": 2,
"ItemId": 1,
"ItemNO": "sample string 3",
"ItemName": "sample string 4",
"Qty": 1.1,
"Price": 1.1,
"UnitId": 5,
"UnitName": "sample string 6",
"tot": 1.1,
"TotWithTax": 1.1,
"DISC": 1.1,
"PricWithTax": 1.1,
"DetTaxSal": 1.1,
"DiscRatio": 1.1,
"DetTaxGainCom": 1.1,
"DetItemDescription": "sample string 7",
"SellingRetDetTaxTypes": [
{
"$id": "3",
"SellingRetDetTaxTypeId": 1,
"SerNo": 2,
"TaxTypeID": 3,
"TaxTypeRate": 1.1,
"TaxTypeAmount": 1.1,
"TaxTypeName": "sample string 4",
"TaxTypeCalcWayId": 1
},
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"EnterpriseId": 1,
"BranchId": 1,
"BranchName": "sample string 9",
"SaleTaxRatio": 1.1,
"SaleTax": 1.1,
"TotWithoutTax": 1.1,
"DiscValueExt": 1.1,
"DiscRatioExt": 1.1,
"TaxGainComRatio": 1.1,
"TaxGainCom": 1.1,
"CurrId": "sample string 10",
"CurrName": "sample string 11",
"CurrVal": 1.1,
"CurrRate": 1.1,
"FreeOfSalesTax": true,
"HasTaxGainCom": true,
"RefSellingId": 1
},
{
"$ref": "1"
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"issuer": {
"$id": "2",
"address": {
"$id": "3",
"branchID": "sample string 1",
"country": "sample string 2",
"governate": "sample string 3",
"regionCity": "sample string 4",
"street": "sample string 5",
"buildingNumber": "sample string 6",
"postalCode": "sample string 7",
"floor": "sample string 8",
"room": "sample string 9",
"landmark": "sample string 10",
"additionalInformation": "sample string 11"
},
"type": "sample string 1",
"id": "sample string 2",
"name": "sample string 3"
},
"receiver": {
"$ref": "2"
},
"documentType": "sample string 1",
"documentTypeVersion": "sample string 2",
"dateTimeIssued": "2025-12-10T14:47:31.0613079-08:00",
"taxpayerActivityCode": "sample string 4",
"internalID": "sample string 5",
"purchaseOrderReference": "sample string 6",
"purchaseOrderDescription": "sample string 7",
"salesOrderReference": "sample string 8",
"salesOrderDescription": "sample string 9",
"proformaInvoiceNumber": "sample string 10",
"references": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"invoiceLines": [
{
"$id": "4",
"description": "sample string 1",
"itemType": "sample string 2",
"itemCode": "sample string 3",
"unitType": "sample string 4",
"quantity": 5.0,
"internalCode": "sample string 6",
"salesTotal": 7.0,
"total": 8.0,
"valueDifference": 9.0,
"totalTaxableFees": 10.0,
"netTotal": 11.0,
"itemsDiscount": 12.0,
"discount": {
"$id": "5",
"rate": 1.0,
"amount": 2.0
},
"unitValue": {
"$id": "6",
"currencySold": "sample string 1",
"amountEGP": 2.0
},
"taxableItems": [
{
"$id": "7",
"taxType": "sample string 1",
"amount": 2.0,
"subType": "sample string 3",
"rate": 4.0
},
{
"$ref": "7"
},
{
"$ref": "7"
}
]
},
{
"$ref": "4"
},
{
"$ref": "4"
}
],
"totalDiscountAmount": 11.0,
"totalSalesAmount": 12.0,
"netAmount": 13.0,
"taxTotals": [
{
"$id": "8",
"taxType": "sample string 1",
"amount": 2.0
},
{
"$ref": "8"
},
{
"$ref": "8"
}
],
"totalAmount": 14.0,
"extraDiscountAmount": 15.0,
"totalItemsDiscountAmount": 16.0
}