POST Suppliapi/Invoices
Request Information
URI Parameters
None.
Body Parameters
invoicesHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| invoicesHeaderId | integer |
None. |
|
| invoicesNumber | string |
None. |
|
| genTipoDocumentoId | integer |
None. |
|
| orderTypeId | integer |
None. |
|
| orderSourceId | integer |
None. |
|
| orderStatusId | integer |
None. |
|
| orderProcessId | integer |
None. |
|
| warehouseId | integer |
None. |
|
| impOrderId | integer |
None. |
|
| qouteId | integer |
None. |
|
| accountId | integer |
None. |
|
| contactId | integer |
None. |
|
| accountRepId | integer |
None. |
|
| accountTermId | integer |
None. |
|
| orderDate | date |
None. |
|
| shipDate | date |
None. |
|
| refNumber | string |
None. |
|
| accountName | string |
None. |
|
| accountRepName | string |
None. |
|
| contactName | string |
None. |
|
| customerPO | string |
None. |
|
| addressLine | string |
None. |
|
| addressLine2 | string |
None. |
|
| addressLine3 | string |
None. |
|
| city | string |
None. |
|
| state | string |
None. |
|
| country | string |
None. |
|
| postalCode | string |
None. |
|
| longitude | decimal number |
None. |
|
| latitude | decimal number |
None. |
|
| freightAmount | decimal number |
None. |
|
| shippingAmount | decimal number |
None. |
|
| taxAmount1 | decimal number |
None. |
|
| taxAmount2 | decimal number |
None. |
|
| miscAmount1 | decimal number |
None. |
|
| miscAmount2 | decimal number |
None. |
|
| discountAmount | decimal number |
None. |
|
| totalAmount | decimal number |
None. |
|
| totalGrossWeight | decimal number |
None. |
|
| memo | string |
None. |
|
| emailTo | string |
None. |
|
| faxTo | string |
None. |
|
| toPrint | boolean |
None. |
|
| toFax | boolean |
None. |
|
| toEmail | boolean |
None. |
|
| void | boolean |
None. |
|
| tenantId | integer |
None. |
|
| updatedById | integer |
None. |
|
| createdById | integer |
None. |
|
| modifyDateTime | date |
None. |
|
| insertDateTime | date |
None. |
|
| pendingAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"invoicesHeaderId": 1,
"invoicesNumber": "sample string 2",
"genTipoDocumentoId": 3,
"orderTypeId": 4,
"orderSourceId": 5,
"orderStatusId": 6,
"orderProcessId": 7,
"warehouseId": 1,
"impOrderId": 1,
"qouteId": 1,
"accountId": 8,
"contactId": 9,
"accountRepId": 10,
"accountTermId": 1,
"orderDate": "2025-10-29T01:26:38.380126-06:00",
"shipDate": "2025-10-29T01:26:38.380126-06:00",
"refNumber": "sample string 12",
"accountName": "sample string 13",
"accountRepName": "sample string 14",
"contactName": "sample string 15",
"customerPO": "sample string 16",
"addressLine": "sample string 17",
"addressLine2": "sample string 18",
"addressLine3": "sample string 19",
"city": "sample string 20",
"state": "sample string 21",
"country": "sample string 22",
"postalCode": "sample string 23",
"longitude": 1.1,
"latitude": 1.1,
"freightAmount": 1.0,
"shippingAmount": 1.0,
"taxAmount1": 1.0,
"taxAmount2": 1.0,
"miscAmount1": 1.0,
"miscAmount2": 1.0,
"discountAmount": 1.0,
"totalAmount": 1.0,
"totalGrossWeight": 1.0,
"memo": "sample string 24",
"emailTo": "sample string 25",
"faxTo": "sample string 26",
"toPrint": true,
"toFax": true,
"toEmail": true,
"void": true,
"tenantId": 31,
"updatedById": 1,
"createdById": 32,
"modifyDateTime": "2025-10-29T01:26:38.3831325-06:00",
"insertDateTime": "2025-10-29T01:26:38.3831325-06:00",
"pendingAmount": 1.0
}
application/xml, text/xml
Sample:
<invoicesHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuppliModel"> <accountId>8</accountId> <accountName>sample string 13</accountName> <accountRepId>10</accountRepId> <accountRepName>sample string 14</accountRepName> <accountTermId>1</accountTermId> <addressLine>sample string 17</addressLine> <addressLine2>sample string 18</addressLine2> <addressLine3>sample string 19</addressLine3> <city>sample string 20</city> <contactId>9</contactId> <contactName>sample string 15</contactName> <country>sample string 22</country> <createdById>32</createdById> <customerPO>sample string 16</customerPO> <discountAmount>1</discountAmount> <emailTo>sample string 25</emailTo> <faxTo>sample string 26</faxTo> <freightAmount>1</freightAmount> <genTipoDocumentoId>3</genTipoDocumentoId> <impOrderId>1</impOrderId> <insertDateTime>2025-10-29T01:26:38.3831325-06:00</insertDateTime> <invoicesHeaderId>1</invoicesHeaderId> <invoicesNumber>sample string 2</invoicesNumber> <latitude>1.1</latitude> <longitude>1.1</longitude> <memo>sample string 24</memo> <miscAmount1>1</miscAmount1> <miscAmount2>1</miscAmount2> <modifyDateTime>2025-10-29T01:26:38.3831325-06:00</modifyDateTime> <orderDate>2025-10-29T01:26:38.380126-06:00</orderDate> <orderProcessId>7</orderProcessId> <orderSourceId>5</orderSourceId> <orderStatusId>6</orderStatusId> <orderTypeId>4</orderTypeId> <pendingAmount>1</pendingAmount> <postalCode>sample string 23</postalCode> <qouteId>1</qouteId> <refNumber>sample string 12</refNumber> <shipDate>2025-10-29T01:26:38.380126-06:00</shipDate> <shippingAmount>1</shippingAmount> <state>sample string 21</state> <taxAmount1>1</taxAmount1> <taxAmount2>1</taxAmount2> <tenantId>31</tenantId> <toEmail>true</toEmail> <toFax>true</toFax> <toPrint>true</toPrint> <totalAmount>1</totalAmount> <totalGrossWeight>1</totalGrossWeight> <updatedById>1</updatedById> <void>true</void> <warehouseId>1</warehouseId> </invoicesHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |