Advances allow you to make a payment to a vendor in advance of receiving a bill. For example, if a vendor requires an up-front deposit, create an advance payment and post it to an established prepayment account.
Returns a collection with a key, ID, and link for each advance. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "625510",
- "id": "625510",
- "href": "/objects/accounts-payable/advance/625510"
}, - {
- "key": "558105",
- "id": "558105",
- "href": "/objects/accounts-payable/advance/558105"
}, - {
- "key": "558543",
- "id": "558543",
- "href": "/objects/accounts-payable/advance/558543"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new advance.
paymentMethod required | string Payment method for the AP advance. A payment method for AP advances defines how funds are transferred to a vendor, which determines the approval process and workflow steps needed to complete the advance payment. Example: "printedCheck" | ||||||||||||||
required | object Financial account from which the reconciliation is done. | ||||||||||||||
| |||||||||||||||
advanceDate required | string <date> Date the advance payment was made. Example: "2021-01-23" | ||||||||||||||
referenceNumber | string or null A number, such as a purchase order or account number, useful for searches or reports. This number appears on the GL Details report and is printed on checks and vendor stubs. Example: "INV-902852" | ||||||||||||||
description | string or null Description of the AP advance. Example: "Computer Hardware & Software Expenses 03/01/20 - 08/31/21 Subscription charges." | ||||||||||||||
state | string Default: "draft" Processing state of the AP advance. The state can be modified through workflow operations like Submit and Reverse, but cannot be changed using the PATCH operation. Example: "draft" | ||||||||||||||
object | |||||||||||||||
| |||||||||||||||
dueDate | string <date> Due date for the AP advance. Example: "2021-01-23" | ||||||||||||||
object | |||||||||||||||
| |||||||||||||||
isSystemGenerated | string Default: "false" Indicates whether the advance record is created by the system. A value of Example: "true" | ||||||||||||||
object Currency details for this AP advance. | |||||||||||||||
| |||||||||||||||
object Supporting document ID for this attachment. | |||||||||||||||
| |||||||||||||||
object Vendor associated with the AP advance. | |||||||||||||||
| |||||||||||||||
Array of objects Line items of the advance. | |||||||||||||||
Array
|
Created
Bad Request
{- "description": "Advance for new equipment",
- "paymentMethod": "cash",
- "financialEntity": {
- "id": "BOA"
}, - "advanceDate": "2023-07-23",
- "vendor": {
- "id": "1099 Int"
}, - "lines": [
- {
- "baseAmount": "12.34",
- "memo": "Advance payment to vendor for retainer fee - to be applied against future invoices.",
- "txnAmount": "1.23",
- "dimensions": {
- "department": {
- "id": "11"
}, - "location": {
- "id": "1"
}, - "project": {
- "id": "8"
}, - "customer": {
- "id": "1"
}, - "vendor": {
- "id": "1099 Int"
}, - "employee": {
- "id": "1"
}, - "item": {
- "id": "1"
}, - "class": {
- "id": "3"
}
}, - "glAccount": {
- "id": "6000"
}
}
]
}
{- "ia::result": {
- "key": "625530",
- "id": "625530",
- "href": "/objects/accounts-payable/advance/625530"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified advance.
key required | string System-assigned unique key for the advance. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "id": "20",
- "key": "20",
- "recordType": "pr",
- "paymentMethod": "eft",
- "description": null,
- "advanceSummary": {
- "id": "399",
- "key": "399",
- "name": "Advances(Bank-BOA) 2024/10/23 21:21:03:5361 Batch",
- "href": "/objects/accounts-payable/summary/399"
}, - "vendor": {
- "name": "1099 Int",
- "id": "1099 Int",
- "key": "43",
- "totalDue": "-120.00",
- "href": "/objects/accounts-payable/vendor/43"
}, - "totalEntered": "120.00",
- "paymentInformation": {
- "totalPaid": "0.00",
- "totalSelected": "0.00",
- "paidDate": "2024-05-20",
- "txnTotalPaid": "0.00",
- "txnTotalSelected": "0.00"
}, - "totalDue": "120.00",
- "state": "advancePaid",
- "audit": {
- "createdDateTime": "2024-05-20T00:00:00Z",
- "modifiedDateTime": "2024-05-20T08:39:25Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "entity": {
- "id": "1",
- "key": "1",
- "name": "United States of America"
}, - "dueDate": "2024-05-20",
- "referenceNumber": "Advace for 1099 Int",
- "reconciliationGroup": {
- "cleared": "false",
- "clearingDate": null
}, - "isSystemGenerated": "false",
- "currency": {
- "txnCurrency": "USD",
- "baseCurrency": "USD",
- "exchangeRate": {
- "date": null,
- "typeId": null,
- "rate": null
}
}, - "txnTotalEntered": "120.00",
- "txnTotalDue": "120.00",
- "location": {
- "key": "1"
}, - "financialEntity": {
- "id": "BOA"
}, - "advanceDate": "2024-05-20",
- "attachment": {
- "id": "Invc-001",
- "key": "2",
- "href": "/objects/company-config/attachment/2"
}, - "lines": [
- {
- "id": "39",
- "key": "39",
- "apAdvance": {
- "id": "20",
- "key": "20",
- "recordType": "pr",
- "href": "/objects/accounts-payable/advance/20"
}, - "glAccount": {
- "key": "81",
- "id": "1304",
- "name": "Vendor Advances",
- "href": "/objects/general-ledger/account/81"
}, - "accountLabel": {
- "id": null
}, - "baseAmount": "120.00",
- "txnAmount": "120.00",
- "dimensions": {
- "department": {
- "key": "9",
- "id": "11",
- "name": "Accounting",
- "href": "/objects/company-config/department/9"
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "project": {
- "key": "8",
- "id": "8",
- "name": "Client Services - Power Aerospace Materials",
- "href": "/objects/projects/project/8"
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}, - "vendor": {
- "key": "43",
- "id": "1099 Int",
- "name": "1099 Int",
- "href": "/objects/accounts-payable/vendor/43"
}, - "employee": {
- "key": "1",
- "id": "1",
- "name": "Reser",
- "href": "/objects/company-config/employee/1"
}, - "item": {
- "key": "1",
- "id": "1",
- "name": "PC Computer",
- "href": "/objects/inventory-control/item/1"
}, - "class": {
- "key": "1",
- "id": "3",
- "name": "Heath Care",
- "href": "/objects/company-config/class/1"
}, - "nsp::refcode_gl": {
- "key": "10004",
- "href": "/objects/platform-apps/nsp::refcode_gl/10004"
}, - "nsp::vssn": {
- "key": "10008",
- "href": "/objects/platform-apps/nsp::vssn/10008"
}, - "nsp::restriction": {
- "key": null
}
}, - "baseLocation": {
- "name": "United States of America",
- "key": "1",
- "href": "/objects/company-config/location/1"
}, - "memo": "Invc-001",
- "currency": {
- "exchangeRate": {
- "date": "2024-05-20",
- "typeId": null,
- "rate": "1"
}, - "baseCurrency": "USD",
- "txnCurrency": "USD"
}, - "lineNumber": 1,
- "paymentInformation": {
- "totalPaid": "0.00",
- "txnTotalPaid": "0.00",
- "totalSelected": "0.00",
- "txnTotalSelected": "0.00"
}, - "audit": {
- "createdDateTime": "2024-05-20T08:39:24Z",
- "modifiedDateTime": "2024-05-20T08:39:25Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/accounts-payable/advance-line/39"
}
], - "href": "/objects/accounts-payable/advance/20"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing advance by setting field values. Any fields not provided remain unchanged. You can only update advances in a draft state or advances that were declined during the approval process.
key required | string System-assigned unique key for the advance. Example: 99 |
paymentMethod | string Payment method for the AP advance. A payment method for AP advances defines how funds are transferred to a vendor, which determines the approval process and workflow steps needed to complete the advance payment. Example: "printedCheck" | ||||||||||||||
referenceNumber | string or null A number, such as a purchase order or account number, useful for searches or reports. This number appears on the GL Details report and is printed on checks and vendor stubs. Example: "INV-902852" | ||||||||||||||
description | string or null Description of the AP advance. Example: "Computer Hardware & Software Expenses 03/01/20 - 08/31/21 Subscription charges." | ||||||||||||||
state | string Default: "draft" Processing state of the AP advance. The state can be modified through workflow operations like Submit and Reverse, but cannot be changed using the PATCH operation. Example: "draft" | ||||||||||||||
advanceDate | string <date> Date the advance payment was made. Example: "2021-01-23" | ||||||||||||||
object | |||||||||||||||
| |||||||||||||||
dueDate | string <date> Due date for the AP advance. Example: "2021-01-23" | ||||||||||||||
object Financial account from which the reconciliation is done. | |||||||||||||||
| |||||||||||||||
object | |||||||||||||||
| |||||||||||||||
isSystemGenerated | string Default: "false" Indicates whether the advance record is created by the system. A value of Example: "true" | ||||||||||||||
object Currency details for this AP advance. | |||||||||||||||
| |||||||||||||||
object Supporting document ID for this attachment. | |||||||||||||||
| |||||||||||||||
object Vendor associated with the AP advance. | |||||||||||||||
| |||||||||||||||
Array of objects Line items of the advance. | |||||||||||||||
Array
|
OK
Bad Request
{- "description": "Updated description of advance"
}
{- "ia::result": {
- "key": "625529",
- "id": "625529",
- "href": "/objects/accounts-payable/advance/625529"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an advance. Only draft advances can be deleted.
key required | string System-assigned unique key for the advance. Example: 99 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}