| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceID |
Autonumber from AP_Invoice |
integer |
None. |
| VendorCode |
Vendor_Code from AP_Vendor |
string |
Required String length: inclusive between 0 and 50 |
| InvoiceNumber |
Vendor's invoice number |
string |
None. |
| InvoiceDate |
defaults to current date if not supplied |
string |
None. |
| PostingDate |
defaults to current date if not supplied |
string |
None. |
| DueDate |
defaults to 30 days from current date if not supplied |
string |
None. |
| TermCode |
Value from AR_Term table (Payment terms); list of valid options can be retrieved from GET: api/term |
string |
Required String length: inclusive between 0 and 25 |
| CategoryCode |
Category from AR_Category table |
string |
Required |
| Amount | decimal number |
Required |
|
| NetDue |
set automatically on post |
decimal number |
None. |
| Memo | string |
String length: inclusive between 0 and 255 |
|
| BranchCode |
Value from AR_Branch table; defaults to config setting for branchCode if not supplied; list of valid options can be retrieved from GET: api/branch |
string |
Required String length: inclusive between 0 and 25 |
| WarehouseCode |
value from IN_Warehouse; defaults to N/A if not supplied |
string |
None. |
| JobCode |
value from OE_Job; defaults to 000 if not supplied |
string |
None. |
| ServiceTicketId |
Service Ticket ID; defaults to 1 if not supplied |
integer |
None. |
| ReceivedBy |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 25 |
| BillReceivedBy |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 25 |
| APBillExpenses |
list of Invoice Items |
Collection of APBillExpense |
None. |