An adjustment is a transaction that applies a credit or debit in order to modify the amount owed by a customer.
Returns a collection with a key, ID, and link for each adjustment. 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": "259",
- "id": "259",
- "href": "/objects/accounts-receivable/adjustment/259"
}, - {
- "key": "295",
- "id": "295",
- "href": "/objects/accounts-receivable/adjustment/295"
}, - {
- "key": "296",
- "id": "296",
- "href": "/objects/accounts-receivable/adjustment/296"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new adjustment.
createdDate required | string <date> Date the adjustment was created. Example: "2021-01-23" | ||||||||||||||||||
adjustmentNumber | string or null Number that can be used to track the AR adjustment. Example: "ADJ001" | ||||||||||||||||||
object Associated contacts for the AR adjustment. | |||||||||||||||||||
| |||||||||||||||||||
state | string Default: "posted" Processing state of the AR adjustment. The state can be modified through workflow operations like Submit and Reverse, but cannot be changed using the PATCH operation. Example: "paid" | ||||||||||||||||||
description | string or null Description of the AR adjustment. Example: "Computer Hardware & Software Expenses 03/01/20 - 08/31/21 Subscription charges." | ||||||||||||||||||
documentNumber | string Invoice number selected as a reference for the adjustment. Example: "INV-1602" | ||||||||||||||||||
object For multi-currency companies, the base currency for the adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object For multi-currency companies, the transaction currency for the adjustment. Example: "USD" | |||||||||||||||||||
| |||||||||||||||||||
object Exchange rate details used to calculate the base amount. | |||||||||||||||||||
| |||||||||||||||||||
object The customer who is the target of the AR adjustment. Example: "1" | |||||||||||||||||||
| |||||||||||||||||||
glPostingDate | string <date> GL posting date. Example: "2023-03-24" | ||||||||||||||||||
object Tax solution details for this adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object Supporting document for the adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object The payment summary details for this adjustment. Summaries are collections of the same types of transactions grouped together for processing. Example: "AR Summary: 2022/01/01 Batch" | |||||||||||||||||||
| |||||||||||||||||||
Array of objects Line items of the AR adjustment. | |||||||||||||||||||
Array
|
Created
Bad Request
{- "customer": {
- "id": "C-00005"
}, - "createdDate": "2023-06-28",
- "description": "Lyon USD Adj",
- "adjustmentSummary": {
- "id": "AR Summary: 2022/01/01 Batch"
}, - "baseCurrency": {
- "paidDate": "2022-11-15",
- "currency": "USD"
}, - "txnCurrency": {
- "currency": "USD"
}, - "lines": [
- {
- "txnCurrency": {
- "amount": "120.03",
- "currency": "USD"
}, - "glAccount": {
- "id": "2990"
}, - "dimensions": {
- "location": {
- "id": "CA"
}
}
}
]
}
{- "ia::result": {
- "id": "270",
- "key": "270",
- "href": "/objects/accounts-receivable/adjustment/270"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified adjustment.
key required | string System-assigned unique key for the adjustment. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "id": "288",
- "key": "288",
- "txnType": "ra",
- "adjustmentNumber": "adj-1",
- "state": "posted",
- "customer": {
- "id": "1",
- "key": "1",
- "name": "Power Aerospace Materials",
- "totalDue": "-17909.55",
- "href": "/objects/accounts-receivable/customer/1"
}, - "documentNumber": "ADJ008567",
- "description": "Adjustment 3",
- "createdDate": "2024-09-24",
- "entity": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/entity/1"
}, - "glPostingDate": "2024-09-24",
- "adjustmentSummary": {
- "id": "AR Summary: 2022/01/01 Batch",
- "key": 280,
- "href": "/objects/accounts-receivable/summary/280"
}, - "baseCurrency": {
- "paidDate": "2024-07-19",
- "currency": "AUD",
- "totalAmountEntered": "-150.00",
- "totalSelected": "0.00",
- "totalPaid": "0.00",
- "totalDue": "-150.00"
}, - "txnCurrency": {
- "currency": "AUD",
- "totalEntered": "-150.00",
- "totalSelected": "0.00",
- "totalPaid": "0.00",
- "totalDue": "-150.00"
}, - "exchangeRate": {
- "date": "2024-07-17",
- "typeId": "Intacct Daily Rate",
- "rate": "1"
}, - "contacts": {
- "billTo": {
- "id": "Power Aerospace Materials(C1)",
- "key": "152",
- "href": "/objects/company-config/contact/152"
}, - "shipTo": {
- "id": "Power Aerospace Materials(C1)",
- "key": "152",
- "tax": {
- "group": {
- "id": null,
- "key": null
}, - "taxId": null
}, - "href": "/objects/company-config/contact/152"
}
}, - "moduleKey": "4.AR",
- "audit": {
- "createdDateTime": "2024-09-24T13:19:27Z",
- "modifiedDateTime": "2024-09-24T14:01:12Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "taxSolution": {
- "key": "1",
- "id": "Australia - GST",
- "href": "/objects/tax/tax-solution/1"
}, - "attachment": {
- "id": null,
- "key": null
}, - "lines": [
- {
- "id": "2686",
- "key": "2686",
- "arAdjustment": {
- "id": "288",
- "key": "288",
- "href": "/objects/accounts-receivable/adjustment/288"
}, - "glAccount": {
- "key": "254",
- "id": "6103",
- "name": "Bonuses",
- "href": "/objects/general-ledger/account/254"
}, - "accountLabel": {
- "key": "35",
- "id": "Bonuses",
- "href": "/objects/accounts-receivable/account-label/35"
}, - "baseCurrency": {
- "amount": "-125",
- "currency": "AUD"
}, - "txnCurrency": {
- "amount": "-125",
- "currency": "AUD"
}, - "dimensions": {
- "department": {
- "key": null,
- "id": null,
- "name": null
}, - "location": {
- "key": "4",
- "id": "4",
- "name": "Australia",
- "href": "/objects/company-config/location/4"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}, - "warehouse": {
- "key": null,
- "id": null,
- "name": null
}
}, - "memo": null,
- "exchangeRate": {
- "date": null,
- "typeId": null,
- "rate": "1"
}, - "lineNumber": "1",
- "adjustmentType": "ra",
- "isTax": false,
- "audit": {
- "createdDateTime": "2024-09-24T13:19:27Z",
- "modifiedDateTime": "2024-09-24T14:01:12Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "taxEntries": [
- {
- "txnTaxAmount": "-25.00",
- "baseTaxAmount": "-25.00",
- "orderEntryTaxDetail": {
- "id": "AUS Standard1",
- "key": "89",
- "href": "/objects/tax/order-entry-tax-detail/89"
}, - "id": "2688",
- "key": "2688",
- "taxRate": 20,
- "adjustmentLine": {
- "id": "2686",
- "key": "2686",
- "href": "/objects/accounts-receivable/adjustment-line/2686"
}, - "href": "/objects/accounts-receivable/adjustment-tax-entry/2688"
}
], - "href": "/objects/accounts-receivable/adjustment-line/2686"
}
], - "href": "/objects/accounts-receivable/adjustment/288"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing adjustment by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the adjustment. Example: 99 |
adjustmentNumber | string or null Number that can be used to track the AR adjustment. Example: "ADJ001" | ||||||||||||||||||
object Associated contacts for the AR adjustment. | |||||||||||||||||||
| |||||||||||||||||||
state | string Default: "posted" Processing state of the AR adjustment. The state can be modified through workflow operations like Submit and Reverse, but cannot be changed using the PATCH operation. Example: "paid" | ||||||||||||||||||
description | string or null Description of the AR adjustment. Example: "Computer Hardware & Software Expenses 03/01/20 - 08/31/21 Subscription charges." | ||||||||||||||||||
documentNumber | string Invoice number selected as a reference for the adjustment. Example: "INV-1602" | ||||||||||||||||||
object For multi-currency companies, the base currency for the adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object For multi-currency companies, the transaction currency for the adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object Exchange rate details used to calculate the base amount. | |||||||||||||||||||
| |||||||||||||||||||
object The customer who is the target of the AR adjustment. | |||||||||||||||||||
| |||||||||||||||||||
createdDate | string <date> Date the adjustment was created. Example: "2021-01-23" | ||||||||||||||||||
glPostingDate | string <date> GL posting date. Example: "2023-03-24" | ||||||||||||||||||
object Tax solution details for this adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object Supporting document for the adjustment. | |||||||||||||||||||
| |||||||||||||||||||
object The payment summary details for this adjustment. Summaries are collections of the same types of transactions grouped together for processing. | |||||||||||||||||||
| |||||||||||||||||||
Array of objects Line items of the AR adjustment. | |||||||||||||||||||
Array
|
OK
Bad Request
{- "description": "May 2023 Refund"
}
{- "ia::result": {
- "id": "16855",
- "key": "16855",
- "href": "/objects/accounts-receivable/adjustment/16855"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an adjustment. An adjustment can be deleted if it has not yet been applied to an invoice.
key required | string System-assigned unique key for the adjustment. 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
}
}