POST api/InvoiceNoStock
Request Information
URI Parameters
None.
Body Parameters
InvoiceNoStockRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DB | string |
None. |
|
| TransactionDate | date |
None. |
|
| IntegratingApp | string |
None. |
|
| CustomerName | string |
None. |
|
| SalesAccount | string |
None. |
|
| ReferenceNumber | string |
None. |
|
| IsPriceInclusive | boolean |
None. |
|
| StockLocation | string |
None. |
|
| CashBankAccount | string |
None. |
|
| PaymentDescription | string |
None. |
|
| Lines | Collection of InvoiceNoStockLine |
None. |
|
| UserEmail | string |
None. |
|
| ProjectID | integer |
None. |
|
| BranchID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DB": "sample string 1",
"TransactionDate": "2026-12-01T08:12:01.1133223+00:00",
"IntegratingApp": "sample string 3",
"CustomerName": "sample string 4",
"SalesAccount": "sample string 5",
"ReferenceNumber": "sample string 6",
"IsPriceInclusive": true,
"StockLocation": "sample string 8",
"CashBankAccount": "sample string 9",
"PaymentDescription": "sample string 10",
"Lines": [
{
"StockID": 1,
"Quantity": 2.1,
"UnitPrice": 3.1,
"DiscountPercent": 4.1,
"Description": "sample string 5",
"UpdateStock": true
},
{
"StockID": 1,
"Quantity": 2.1,
"UnitPrice": 3.1,
"DiscountPercent": 4.1,
"Description": "sample string 5",
"UpdateStock": true
}
],
"UserEmail": "sample string 11",
"ProjectID": 12,
"BranchID": 13
}
application/xml, text/xml
Sample:
<InvoiceNoStockRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
<BranchID>13</BranchID>
<CashBankAccount>sample string 9</CashBankAccount>
<CustomerName>sample string 4</CustomerName>
<DB>sample string 1</DB>
<IntegratingApp>sample string 3</IntegratingApp>
<IsPriceInclusive>true</IsPriceInclusive>
<Lines>
<InvoiceNoStockLine>
<Description>sample string 5</Description>
<DiscountPercent>4.1</DiscountPercent>
<Quantity>2.1</Quantity>
<StockID>1</StockID>
<UnitPrice>3.1</UnitPrice>
<UpdateStock>true</UpdateStock>
</InvoiceNoStockLine>
<InvoiceNoStockLine>
<Description>sample string 5</Description>
<DiscountPercent>4.1</DiscountPercent>
<Quantity>2.1</Quantity>
<StockID>1</StockID>
<UnitPrice>3.1</UnitPrice>
<UpdateStock>true</UpdateStock>
</InvoiceNoStockLine>
</Lines>
<PaymentDescription>sample string 10</PaymentDescription>
<ProjectID>12</ProjectID>
<ReferenceNumber>sample string 6</ReferenceNumber>
<SalesAccount>sample string 5</SalesAccount>
<StockLocation>sample string 8</StockLocation>
<TransactionDate>2026-12-01T08:12:01.1133223+00:00</TransactionDate>
<UserEmail>sample string 11</UserEmail>
</InvoiceNoStockRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
POSInvoiceTransOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| InvNo | string |
None. |
|
| RecNo | string |
None. |
|
| OpeningBalBeforeTrans | decimal number |
None. |
|
| ClosingBalAfterTrans | decimal number |
None. |
|
| Customer | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"InvNo": "sample string 1",
"RecNo": "sample string 2",
"OpeningBalBeforeTrans": 3.0,
"ClosingBalAfterTrans": 4.0,
"Customer": "sample string 5"
}
application/xml, text/xml
Sample:
<POSInvoiceTransOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis"> <ClosingBalAfterTrans>4</ClosingBalAfterTrans> <Customer>sample string 5</Customer> <InvNo>sample string 1</InvNo> <OpeningBalBeforeTrans>3</OpeningBalBeforeTrans> <RecNo>sample string 2</RecNo> </POSInvoiceTransOutput>