POST api/APInvoices?VendorID={VendorID}&VendorPassword={VendorPassword}&APIGUID={APIGUID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorID | string |
Required |
|
| VendorPassword | string |
Required |
|
| APIGUID | string |
Required |
Body Parameters
APInvoices| Name | Description | Type | Additional information |
|---|---|---|---|
| APInvoiceList | Collection of APInvoice |
None. |
Request Formats
application/json, text/json
Sample:
{
"APInvoiceList": [
{
"CompanyKey": 1,
"VendorLocationKey": 2,
"EmployeeKey": 3,
"BankCode": "sample string 4",
"DueDate": "2025-10-27T12:15:41.9478633-07:00",
"InvoiceDate": "2025-10-27T12:15:41.9478633-07:00",
"PostedDate": "2025-10-27T12:15:41.9478633-07:00",
"Reference": "sample string 8",
"Approved": true,
"OnlineBoardApproval": true,
"Process": true,
"PaymentMethod": "sample string 12",
"CheckNumber": "sample string 13",
"InvoiceItemList": [
{
"ExpenseCode": "sample string 1",
"InvoiceNumber": "sample string 2",
"Memo": "sample string 3",
"Department": "sample string 4",
"Amount": 5.0,
"Cost": 6.0,
"Quantity": 7.0,
"DueDate": "2025-10-27T12:15:41.9478633-07:00",
"InvoiceDate": "2025-10-27T12:15:41.9478633-07:00",
"UnitKey": 10,
"CompanyInventoryLinkKey": 11,
"ResidentKey": 12,
"FileName": "sample string 13",
"ImageBase64": "sample string 14"
},
{
"ExpenseCode": "sample string 1",
"InvoiceNumber": "sample string 2",
"Memo": "sample string 3",
"Department": "sample string 4",
"Amount": 5.0,
"Cost": 6.0,
"Quantity": 7.0,
"DueDate": "2025-10-27T12:15:41.9478633-07:00",
"InvoiceDate": "2025-10-27T12:15:41.9478633-07:00",
"UnitKey": 10,
"CompanyInventoryLinkKey": 11,
"ResidentKey": 12,
"FileName": "sample string 13",
"ImageBase64": "sample string 14"
}
]
},
{
"CompanyKey": 1,
"VendorLocationKey": 2,
"EmployeeKey": 3,
"BankCode": "sample string 4",
"DueDate": "2025-10-27T12:15:41.9478633-07:00",
"InvoiceDate": "2025-10-27T12:15:41.9478633-07:00",
"PostedDate": "2025-10-27T12:15:41.9478633-07:00",
"Reference": "sample string 8",
"Approved": true,
"OnlineBoardApproval": true,
"Process": true,
"PaymentMethod": "sample string 12",
"CheckNumber": "sample string 13",
"InvoiceItemList": [
{
"ExpenseCode": "sample string 1",
"InvoiceNumber": "sample string 2",
"Memo": "sample string 3",
"Department": "sample string 4",
"Amount": 5.0,
"Cost": 6.0,
"Quantity": 7.0,
"DueDate": "2025-10-27T12:15:41.9478633-07:00",
"InvoiceDate": "2025-10-27T12:15:41.9478633-07:00",
"UnitKey": 10,
"CompanyInventoryLinkKey": 11,
"ResidentKey": 12,
"FileName": "sample string 13",
"ImageBase64": "sample string 14"
},
{
"ExpenseCode": "sample string 1",
"InvoiceNumber": "sample string 2",
"Memo": "sample string 3",
"Department": "sample string 4",
"Amount": 5.0,
"Cost": 6.0,
"Quantity": 7.0,
"DueDate": "2025-10-27T12:15:41.9478633-07:00",
"InvoiceDate": "2025-10-27T12:15:41.9478633-07:00",
"UnitKey": 10,
"CompanyInventoryLinkKey": 11,
"ResidentKey": 12,
"FileName": "sample string 13",
"ImageBase64": "sample string 14"
}
]
}
]
}
application/xml, text/xml
Sample:
<APInvoices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMSRXChange.DataClassesAccountsPayable">
<APInvoiceList>
<APInvoice>
<Approved>true</Approved>
<BankCode>sample string 4</BankCode>
<CheckNumber>sample string 13</CheckNumber>
<CompanyKey>1</CompanyKey>
<DueDate>2025-10-27T12:15:41.9478633-07:00</DueDate>
<EmployeeKey>3</EmployeeKey>
<InvoiceDate>2025-10-27T12:15:41.9478633-07:00</InvoiceDate>
<InvoiceItemList>
<InvoiceItem>
<Amount>5</Amount>
<CompanyInventoryLinkKey>11</CompanyInventoryLinkKey>
<Cost>6</Cost>
<Department>sample string 4</Department>
<DueDate>2025-10-27T12:15:41.9478633-07:00</DueDate>
<ExpenseCode>sample string 1</ExpenseCode>
<FileName>sample string 13</FileName>
<ImageBase64>sample string 14</ImageBase64>
<InvoiceDate>2025-10-27T12:15:41.9478633-07:00</InvoiceDate>
<InvoiceNumber>sample string 2</InvoiceNumber>
<Memo>sample string 3</Memo>
<Quantity>7</Quantity>
<ResidentKey>12</ResidentKey>
<UnitKey>10</UnitKey>
</InvoiceItem>
<InvoiceItem>
<Amount>5</Amount>
<CompanyInventoryLinkKey>11</CompanyInventoryLinkKey>
<Cost>6</Cost>
<Department>sample string 4</Department>
<DueDate>2025-10-27T12:15:41.9478633-07:00</DueDate>
<ExpenseCode>sample string 1</ExpenseCode>
<FileName>sample string 13</FileName>
<ImageBase64>sample string 14</ImageBase64>
<InvoiceDate>2025-10-27T12:15:41.9478633-07:00</InvoiceDate>
<InvoiceNumber>sample string 2</InvoiceNumber>
<Memo>sample string 3</Memo>
<Quantity>7</Quantity>
<ResidentKey>12</ResidentKey>
<UnitKey>10</UnitKey>
</InvoiceItem>
</InvoiceItemList>
<OnlineBoardApproval>true</OnlineBoardApproval>
<PaymentMethod>sample string 12</PaymentMethod>
<PostedDate>2025-10-27T12:15:41.9478633-07:00</PostedDate>
<Process>true</Process>
<Reference>sample string 8</Reference>
<VendorLocationKey>2</VendorLocationKey>
</APInvoice>
<APInvoice>
<Approved>true</Approved>
<BankCode>sample string 4</BankCode>
<CheckNumber>sample string 13</CheckNumber>
<CompanyKey>1</CompanyKey>
<DueDate>2025-10-27T12:15:41.9478633-07:00</DueDate>
<EmployeeKey>3</EmployeeKey>
<InvoiceDate>2025-10-27T12:15:41.9478633-07:00</InvoiceDate>
<InvoiceItemList>
<InvoiceItem>
<Amount>5</Amount>
<CompanyInventoryLinkKey>11</CompanyInventoryLinkKey>
<Cost>6</Cost>
<Department>sample string 4</Department>
<DueDate>2025-10-27T12:15:41.9478633-07:00</DueDate>
<ExpenseCode>sample string 1</ExpenseCode>
<FileName>sample string 13</FileName>
<ImageBase64>sample string 14</ImageBase64>
<InvoiceDate>2025-10-27T12:15:41.9478633-07:00</InvoiceDate>
<InvoiceNumber>sample string 2</InvoiceNumber>
<Memo>sample string 3</Memo>
<Quantity>7</Quantity>
<ResidentKey>12</ResidentKey>
<UnitKey>10</UnitKey>
</InvoiceItem>
<InvoiceItem>
<Amount>5</Amount>
<CompanyInventoryLinkKey>11</CompanyInventoryLinkKey>
<Cost>6</Cost>
<Department>sample string 4</Department>
<DueDate>2025-10-27T12:15:41.9478633-07:00</DueDate>
<ExpenseCode>sample string 1</ExpenseCode>
<FileName>sample string 13</FileName>
<ImageBase64>sample string 14</ImageBase64>
<InvoiceDate>2025-10-27T12:15:41.9478633-07:00</InvoiceDate>
<InvoiceNumber>sample string 2</InvoiceNumber>
<Memo>sample string 3</Memo>
<Quantity>7</Quantity>
<ResidentKey>12</ResidentKey>
<UnitKey>10</UnitKey>
</InvoiceItem>
</InvoiceItemList>
<OnlineBoardApproval>true</OnlineBoardApproval>
<PaymentMethod>sample string 12</PaymentMethod>
<PostedDate>2025-10-27T12:15:41.9478633-07:00</PostedDate>
<Process>true</Process>
<Reference>sample string 8</Reference>
<VendorLocationKey>2</VendorLocationKey>
</APInvoice>
</APInvoiceList>
</APInvoices>
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. |