Adjustments allow you to modify the amount owed to a vendor, either increasing or decreasing it as necessary.
Returns a collection with a key, ID, and link for each adjustment. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Accounts Payable |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Adjustments |
OK
Bad Request
{- "ia::result": [
- {
- "key": "186",
- "id": "186",
- "href": "/objects/accounts-payable/adjustment/186"
}, - {
- "key": "187",
- "id": "187",
- "href": "/objects/accounts-payable/adjustment/187"
}, - {
- "key": "319",
- "id": "319",
- "href": "/objects/accounts-payable/adjustment/319"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Creates a new adjustment.
Subscription | Accounts Payable |
---|---|
User type | Business |
Permissions | Add Adjustments |
createdDate required | string <date> The date when the adjustment was created. Example: "2021-01-23" | ||||||||||||||||||||||||||
required | object Vendor associated with the adjustment. | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
adjustmentNumber | string Adjustment number associated with the adjustment. You must specify a unique adjustment number unless document sequencing is configured, in which case the ID is auto-generated. Example: "2" | ||||||||||||||||||||||||||
action | string Default: "submit" The action state of the adjustment:
Example: "draft" | ||||||||||||||||||||||||||
description | string Detailed explanation of the adjustment. Example: "Computer Hardware & Software Expenses 03/01/20 - 08/31/21 Subscription charges." | ||||||||||||||||||||||||||
isTaxInclusive | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||
object Tax solution details for this adjustment. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Supporting document for the adjustment. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Details of the summary for this adjustment. Summaries are collections of the same types of transactions grouped together for processing. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Contacts for this adjustment. If not specified, the vendor contacts will be used. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
referenceNumber | string 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" | ||||||||||||||||||||||||||
object Payment information for the adjustment. | |||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||
Array
|
Created
Bad Request
{- "adjustmentNumber": "credit-001",
- "vendor": {
- "id": "1099 Int"
}, - "description": "Adj for Bil -001",
- "referenceNumber": "Bill-001-02",
- "adjustmentSummary": {
- "glPostingDate": "2024-03-05"
}, - "createdDate": "2024-03-05",
- "contacts": {
- "payTo": {
- "id": "1099 Int"
}, - "returnTo": {
- "id": "1099 Int"
}
}, - "isTaxInclusive": false,
- "currency": {
- "baseCurrency": "AUD",
- "txnCurrency": "USD",
- "exchangeRateDate": "2024-03-08",
- "exchangeRateTypeId": "Intacct Daily Rate",
- "exchangeRate": 1.5154
}, - "attachment": {
- "id": "Adj_Bill_001"
}, - "lines": [
- {
- "glAccount": {
- "id": "6000"
}, - "txnAmount": "5.00",
- "totalTxnAmount": "25.00",
- "dimensions": {
- "department": {
- "id": "11"
}, - "location": {
- "id": "4"
}, - "project": {
- "id": "8"
}, - "customer": {
- "id": "1"
}, - "vendor": {
- "id": "1099 Int"
}, - "employee": {
- "id": "1"
}, - "item": {
- "id": "1"
}, - "class": {
- "id": "3"
}
}, - "memo": "Adj for Bil -001"
}
]
}
{- "ia::result": {
- "key": "26",
- "id": "26",
- "href": "/objects/accounts-payable/adjustment/26"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified adjustment.
Subscription | Accounts Payable |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Adjustments |
key required | string System-assigned key for the adjustment. |
OK
Bad Request
{- "ia::result": {
- "id": "67",
- "key": "67",
- "recordType": "pa",
- "adjustmentNumber": "credit-001",
- "state": "posted",
- "vendor": {
- "id": "1099 Int",
- "key": "1099 Int",
- "name": "1099 Int",
- "totalDue": "28.94",
- "href": "/objects/accounts-payable/vendor/1099 Int"
}, - "referenceNumber": "Bill-001-02",
- "description": "Adj for Bil -001",
- "createdDate": "2024-03-05",
- "audit": {
- "createdDateTime": "2024-03-05T00:00:00Z",
- "modifiedDateTime": "2024-03-20T09:29:02Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "adjustmentSummary": {
- "glPostingDate": "2024-03-05",
- "name": "Adjustments: 2024/03/05 Batch",
- "id": "45",
- "key": "45",
- "state": "open",
- "preventGLPosting": false,
- "href": "/objects/accounts-payable/adjustment-summary/45"
}, - "currency": {
- "baseCurrency": "AUD",
- "txnCurrency": "USD",
- "exchangeRateDate": "2024-03-08",
- "exchangeRateTypeId": "Intacct Daily Rate",
- "exchangeRate": 1.5154
}, - "totalEntered": "7.58",
- "totalBaseAmountDue": "7.58",
- "txnTotalEntered": "5.00",
- "txnTotalDue": "5.00",
- "contacts": {
- "payTo": {
- "id": "1099 Int",
- "key": "299",
- "href": "/objects/company-config/contact/299"
}, - "returnTo": {
- "id": "1099 Int",
- "key": "299",
- "href": "/objects/company-config/contact/299"
}
}, - "attachment": {
- "id": "Adj_Bill_001",
- "key": "8",
- "href": "/objects/company-config/attachment/8"
}, - "moduleKey": "3.AP",
- "isTaxInclusive": false,
- "lines": [
- {
- "id": "700",
- "key": "700",
- "apAdjustment": {
- "id": "67",
- "key": "67",
- "href": "/objects/accounts-payable/adjustment/67"
}, - "glAccount": {
- "key": "246",
- "id": "6000",
- "name": "G&A Salaries",
- "href": "/objects/general-ledger/account/246"
}, - "overrideOffsetGLAccount": {
- "key": "109",
- "id": "2000",
- "name": "Accounts Payable",
- "href": "/objects/general-ledger/account/109"
}, - "accountLabel": {
- "key": null,
- "id": null
}, - "baseAmount": "7.58",
- "txnAmount": "5.00",
- "dimensions": {
- "department": {
- "key": "9",
- "id": "11",
- "name": "Accounting",
- "href": "/objects/company-config/department/9"
}, - "location": {
- "key": "4",
- "id": "4",
- "name": "Australia",
- "href": "/objects/company-config/location/4"
}, - "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"
}
}, - "memo": "Adj for Bil -001",
- "currency": {
- "exchangeRate": {
- "date": "2024-03-08",
- "typeId": "-1",
- "rate": "1.5154"
}, - "txnCurrency": "USD",
- "baseCurrency": "AUD"
}, - "lineNumber": "1",
- "paymentInformation": {
- "totalBaseAmountPaid": "0.00",
- "txnTotalPaid": "0.00",
- "totalBaseAmountSelected": "0.00",
- "txnTotalSelected": "0.00"
}, - "adjustmentType": "pa",
- "audit": {
- "modifiedBy": "1",
- "createdDateTime": "2024-03-20T09:29:02Z",
- "modifiedDateTime": "2024-03-20T09:29:02Z",
- "createdBy": "1"
}, - "hasForm1099": "false",
- "href": "/objects/accounts-payable/adjustment-line/700"
}
], - "href": "/objects/accounts-payable/adjustment/67"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an adjustment by setting field values. Any fields not provided remain unchanged.
Note:
Edit
Accounts Payable permission for Adjustments.Special Cases:
Subscription | Accounts Payable |
---|---|
User type | Business |
Permissions | Add Adjustments |
key required | string System-assigned key for the adjustment. |
adjustmentNumber | string Adjustment number associated with the adjustment. You must specify a unique adjustment number unless document sequencing is configured, in which case the ID is auto-generated. Example: "2" | ||||||||||||||||||||||||||
action | string Default: "submit" The action state of the adjustment:
Example: "draft" | ||||||||||||||||||||||||||
object Vendor associated with the adjustment. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
description | string Detailed explanation of the adjustment. Example: "Computer Hardware & Software Expenses 03/01/20 - 08/31/21 Subscription charges." | ||||||||||||||||||||||||||
createdDate | string <date> The date when the adjustment was created. Example: "2021-01-23" | ||||||||||||||||||||||||||
isTaxInclusive | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||
object Tax solution details for this adjustment. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Supporting document for the adjustment. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Details of the summary for this adjustment. Summaries are collections of the same types of transactions grouped together for processing. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Contacts for this adjustment. If not specified, the vendor contacts will be used. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
referenceNumber | string 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" | ||||||||||||||||||||||||||
object Payment information for the adjustment. | |||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||
Array
|
OK
Bad Request
{- "ia::result": {
- "key": "26",
- "id": "26",
- "href": "/objects/accounts-payable/adjustment/625459"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
{- "description": "Bill -001 adjustment-1"
}
Deletes an adjustment. Adjustments not applied to a bill can be deleted.
Subscription | Accounts Payable |
---|---|
User type | Business |
Permissions | List, Delete Adjustments |
key required | string System-assigned key for the adjustment. |
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
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "accounts-payable/adjustment" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/adjustment",
- "filters": [
- {
- "$eq": {
- "vendor.id": "1099 Int"
}
}
], - "fields": [
- "key",
- "id",
- "adjustmentNumber",
- "state",
- "totalEntered",
- "totalBaseAmountDue",
- "createdDate"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "67",
- "id": "67",
- "adjustmentNumber": "credit-001",
- "state": "posted",
- "totalEntered": "7.58",
- "totalBaseAmountDue": "7.58",
- "createdDate": "2024-03-05"
}, - {
- "key": "68",
- "id": "68",
- "adjustmentNumber": "credit-002",
- "state": "pending",
- "totalEntered": "15.00",
- "totalBaseAmountDue": "15.00",
- "createdDate": "2024-03-10"
}, - {
- "key": "69",
- "id": "69",
- "adjustmentNumber": "credit-003",
- "state": "posted",
- "totalEntered": "20.00",
- "totalBaseAmountDue": "20.00",
- "createdDate": "2024-03-15"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}