POST portal/api/Sales/v1/Invoice/SalesInvoicerequest
Request Information
URI Parameters
None.
Body Parameters
SalesInvoiceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WarehousePolicy | integer |
None. |
|
| Warehouse | integer |
None. |
|
| WarehouseVoucher | integer |
None. |
|
| ParentVoucher | integer |
None. |
|
| ParentVoucherNumber | integer |
None. |
|
| RecordStatus | integer |
None. |
|
| VoucherDate | integer |
None. |
|
| VoucherValidDate | integer |
None. |
|
| SalesDescription | string |
None. |
|
| ReferenceNumber | string |
None. |
|
| CustomerAccountCode | string |
None. |
|
| WareHousePost | boolean |
None. |
|
| AccountPost | boolean |
None. |
|
| WarehouseCurrency | integer |
None. |
|
| Discount | decimal number |
None. |
|
| CustomFee | decimal number |
None. |
|
| TransportationFee | decimal number |
None. |
|
| ServiceFee | decimal number |
None. |
|
| BankFee | decimal number |
None. |
|
| Commisson | decimal number |
None. |
|
| VATValue | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| Cash | decimal number |
None. |
|
| Credit | decimal number |
None. |
|
| CardType | integer |
None. |
|
| CreditCardAmount | decimal number |
None. |
|
| SPAN | decimal number |
None. |
|
| PrintCounter | integer |
None. |
|
| DeliveryLocation | string |
None. |
|
| WarehouseSalesman | integer |
None. |
|
| CreatedByUser | integer |
None. |
|
| IsSample | boolean |
None. |
|
| ItemDetails | string |
None. |
|
| ContractDetails | string |
None. |
|
| CostCenter | string |
None. |
|
| AdministrativeUnit | string |
None. |
|
| IsValRealTime | integer |
None. |
|
| InvoiceCategory | integer |
None. |
|
| Mobile | string |
None. |
|
| QrCode | Collection of byte |
None. |
|
| UserName | string |
None. |
|
| MasterOut | integer |
None. |
|
| CustomerCashInfo | string |
None. |
|
| WarehouseVoucherSerial | integer |
None. |
|
| InvoiceReport | Collection of byte |
None. |
|
| FromDate | date |
None. |
|
| Transfer | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"WarehousePolicy": 1,
"Warehouse": 2,
"WarehouseVoucher": 3,
"ParentVoucher": 4,
"ParentVoucherNumber": 5,
"RecordStatus": 6,
"VoucherDate": 7,
"VoucherValidDate": 8,
"SalesDescription": "sample string 9",
"ReferenceNumber": "sample string 10",
"CustomerAccountCode": "sample string 11",
"WareHousePost": true,
"AccountPost": true,
"WarehouseCurrency": 14,
"Discount": 15.1,
"CustomFee": 16.1,
"TransportationFee": 17.1,
"ServiceFee": 18.1,
"BankFee": 19.1,
"Commisson": 20.1,
"VATValue": 21.1,
"TotalPrice": 22.1,
"Cash": 23.1,
"Credit": 24.1,
"CardType": 25,
"CreditCardAmount": 26.1,
"SPAN": 27.1,
"PrintCounter": 28,
"DeliveryLocation": "sample string 29",
"WarehouseSalesman": 30,
"CreatedByUser": 31,
"IsSample": true,
"ItemDetails": "sample string 33",
"ContractDetails": "sample string 34",
"CostCenter": "sample string 35",
"AdministrativeUnit": "sample string 36",
"IsValRealTime": 37,
"InvoiceCategory": 38,
"Mobile": "sample string 39",
"QrCode": "QEA=",
"UserName": "sample string 40",
"MasterOut": 41,
"CustomerCashInfo": "sample string 42",
"WarehouseVoucherSerial": 43,
"InvoiceReport": "QEA=",
"FromDate": "2026-08-06T20:11:44.3189269+03:00",
"Transfer": 45.1
}
application/xml, text/xml
Sample:
<SalesInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HorizonSSI.HRIntegration.Models"> <AccountPost>true</AccountPost> <AdministrativeUnit>sample string 36</AdministrativeUnit> <BankFee>19.1</BankFee> <CardType>25</CardType> <Cash>23.1</Cash> <Commisson>20.1</Commisson> <ContractDetails>sample string 34</ContractDetails> <CostCenter>sample string 35</CostCenter> <CreatedByUser>31</CreatedByUser> <Credit>24.1</Credit> <CreditCardAmount>26.1</CreditCardAmount> <CustomFee>16.1</CustomFee> <CustomerAccountCode>sample string 11</CustomerAccountCode> <CustomerCashInfo>sample string 42</CustomerCashInfo> <DeliveryLocation>sample string 29</DeliveryLocation> <Discount>15.1</Discount> <FromDate>2026-08-06T20:11:44.3189269+03:00</FromDate> <InvoiceCategory>38</InvoiceCategory> <InvoiceReport>QEA=</InvoiceReport> <IsSample>true</IsSample> <IsValRealTime>37</IsValRealTime> <ItemDetails>sample string 33</ItemDetails> <MasterOut>41</MasterOut> <Mobile>sample string 39</Mobile> <ParentVoucher>4</ParentVoucher> <ParentVoucherNumber>5</ParentVoucherNumber> <PrintCounter>28</PrintCounter> <QrCode>QEA=</QrCode> <RecordStatus>6</RecordStatus> <ReferenceNumber>sample string 10</ReferenceNumber> <SPAN>27.1</SPAN> <SalesDescription>sample string 9</SalesDescription> <ServiceFee>18.1</ServiceFee> <TotalPrice>22.1</TotalPrice> <Transfer>45.1</Transfer> <TransportationFee>17.1</TransportationFee> <UserName>sample string 40</UserName> <VATValue>21.1</VATValue> <VoucherDate>7</VoucherDate> <VoucherValidDate>8</VoucherValidDate> <WareHousePost>true</WareHousePost> <Warehouse>2</Warehouse> <WarehouseCurrency>14</WarehouseCurrency> <WarehousePolicy>1</WarehousePolicy> <WarehouseSalesman>30</WarehouseSalesman> <WarehouseVoucher>3</WarehouseVoucher> <WarehouseVoucherSerial>43</WarehouseVoucherSerial> </SalesInvoiceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>