POST api/ERPDataUpdate/AddInvoiceDetails
Request Information
URI Parameters
None.
Body Parameters
InvoiceDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessCode | string |
None. |
|
| BusinessType | string |
None. |
|
| OrderId | integer |
None. |
|
| CustomerCode | string |
None. |
|
| InvoiceTransactionCode | string |
None. |
|
| InvoiceNumber | integer |
None. |
|
| InvoiceDate | date |
None. |
|
| SOTransactionCode | string |
None. |
|
| SONumber | integer |
None. |
|
| ItemID | integer |
None. |
|
| Quantity | integer |
None. |
|
| Rate | integer |
None. |
|
| Amount | integer |
None. |
|
| LocationID | integer |
None. |
|
| CreatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessCode": "sample string 1",
"BusinessType": "sample string 2",
"OrderId": 3,
"CustomerCode": "sample string 4",
"InvoiceTransactionCode": "sample string 5",
"InvoiceNumber": 6,
"InvoiceDate": "2025-12-25T09:11:48.8561966+00:00",
"SOTransactionCode": "sample string 8",
"SONumber": 9,
"ItemID": 10,
"Quantity": 11,
"Rate": 12,
"Amount": 13,
"LocationID": 14,
"CreatedDate": "2025-12-25T09:11:48.8561966+00:00"
}
application/xml, text/xml
Sample:
<InvoiceDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion"> <Amount>13</Amount> <BusinessCode>sample string 1</BusinessCode> <BusinessType>sample string 2</BusinessType> <CreatedDate>2025-12-25T09:11:48.8561966+00:00</CreatedDate> <CustomerCode>sample string 4</CustomerCode> <InvoiceDate>2025-12-25T09:11:48.8561966+00:00</InvoiceDate> <InvoiceNumber>6</InvoiceNumber> <InvoiceTransactionCode>sample string 5</InvoiceTransactionCode> <ItemID>10</ItemID> <LocationID>14</LocationID> <OrderId>3</OrderId> <Quantity>11</Quantity> <Rate>12</Rate> <SONumber>9</SONumber> <SOTransactionCode>sample string 8</SOTransactionCode> </InvoiceDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/12/25 09:11:48",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>