List the record number and customer name for each AR adjustment where the customer name is Acme Supply:
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENT
filter
Optional
object
Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Set the caseinsensitive element to true for a case-insensitive query <caseinsensitive>true</caseinsensitive>
In a multi-entity company, set the showprivate element to true to query data in private entities: <showprivate>true</showprivate>
Specify the returnformat for the response: xml (default), json, or csv <returnformat>json</returnformat>
pagesize
Optional
integer
Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100)
offset
Optional
integer
Point at which to start indexing into records (Default: 0)
Query and List AR Adjustments (Legacy)
readByQuery
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENT
fields
Optional
string
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
Get AR Adjustment
read
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENT
keys
Required
string
Comma-separated list of adjustment RECORDNO to get
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Note: Currency (amount) values with more than 2 decimal places will be rounded to 2 decimal places to prevent data issues. Best practice is for your application to round long decimal numbers to 2 decimal places before sending them to Intacct.
create_aradjustment
Create an AR adjustment:
Use inclusive tax so that the system calculates the transaction amount (trx_amount) for the adjustment line and the transaction tax (trx_tax) for the tax entry based on the value supplied for totaltrxamount on the adjustment line and the tax rate of the tax detail (detailid) for the tax entry. (AU, GB, ZA only).
Parameters
Name
Required
Type
Description
customerid
Required
string
Customer ID
datecreated
Required
object
Transaction date
dateposted
Optional
object
GL posting date
batchkey
Optional
integer
Summary record number
adjustmentno
Optional
string
Adjustment number
action
Optional
string
Action. Use Draft or Submit. (Default: Submit)
invoiceno
Optional
string
Invoice number
description
Optional
string
Description
externalid
Optional
string
External ID
basecurr
Optional
string
Base currency code
currency
Optional
string
Transaction currency code
exchratedate
Optional
object
Exchange rate date.
exchratetype
Optional
string
Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate
Optional
currency
Exchange rate value. Do not use if exchangeratetype is set.
nogl
Optional
boolean
Do not post to GL. Use false for No, true for Yes. (Default: false)
taxsolutionid
Optional
string
Tax solution name, such as United Kingdom - VAT or Australia - GST. Required only if the company is configured for multiple tax jurisdictions and the transaction is occurring at the top level of the company. See Tax Solutions for more information. (GB, AU, and ZA only)
aradjustmentitems
Required
lineitem[1...n]
Invoice lines, must have at least 1.
datecreated
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
dateposted
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
exchratedate
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
lineitem
Name
Required
Type
Description
glaccountno
Optional
string
GL account number. Required if not using accountlabel.
accountlabel
Optional
string
AP account label. Required if not using glaccountno.
offsetglaccountno
Optional
string
Offset GL account number
amount
Required
currency
Transaction amount. Use a positive number to create a debit memo or a negative number to create a credit memo.
memo
Optional
string
Memo
locationid
Optional
string
LOCATIONID of an active location. Required if company is multi-entity enabled.
departmentid
Optional
string
Department ID
key
Optional
string
Key
totalpaid
Optional
currency
Total paid. Used when nogl on bill is true
totaldue
Optional
currency
Total due. Used when nogl on bill is true
customfields
Optional
array of customfield
Custom fields
projectid
Optional
string
Project ID
taskid
Optional
string
Task ID. Only available when the parent projectid is also specified.
costtypeid
Optional
string
Cost type ID. Only available when projectid and taskid are specified. (Construction subscription)
customerid
Optional
string
Customer ID
vendorid
Optional
string
Vendor ID
employeeid
Optional
string
Employee ID
itemid
Optional
string
Item ID
classid
Optional
string
Class ID
contractid
Optional
string
Contract ID
warehouseid
Optional
string
Warehouse ID
totaltrxamount
Optional
currency
Total transaction amount
taxentries
Optional
taxentry[1...n]
Tax entries for the line. Required for VAT enabled transactions. Providing multiple entries is allowed if your tax solution supports it (AU and GB only). For ZA, only one tax entry is allowed.
customfield
Name
Required
Type
Description
customfieldname
Optional
string
Custom field ID
customfieldvalue
Optional
varies
Custom field value. For a multi-pick-list custom field, implode multiple field values with #~#.
taxentry (AU, GB, ZA only)
Specifies a tax rate (defined in the system) and a manually calculated tax for the adjustment line.
Name
Required
Type
Description
detailid
Required
string
Unique ID of a tax detail with the tax rate to use
trx_tax
Optional
currency
Transaction tax, which is a manually calculated value to override the calculated value for the tax. The amount of the tax line is automatically included in the read-only transaction amount (trx_amount).
Note: Currency (amount) values with more than 2 decimal places will be rounded to 2 decimal places to prevent data issues. Best practice is for your application to round long decimal numbers to 2 decimal places before sending them to Intacct.
update_aradjustment
Parameters
Name
Required
Type
Description
key
Required
integer
Record number of bill to update
customerid
Optional
string
Customer ID
datecreated
Optional
object
Transaction date
dateposted
Optional
object
GL posting date
adjustmentno
Optional
string
Adjustment number
action
Optional
string
Action. Use Draft or Submit. (Default: Submit)
invoiceno
Optional
string
Invoice number
description
Optional
string
Description
basecurr
Optional
string
Base currency code
currency
Optional
string
Transaction currency code
exchratedate
Optional
object
Exchange rate date.
exchratetype
Optional
string
Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate
Optional
currency
Exchange rate value. Do not use if exchangeratetype is set.
updatearadjustmentitems
Optional
(updatelineitem | lineitem)[0...n]
To update an existing line use updatelineitem otherwise to create a new line use lineitem. You can mix types in the array.
datecreated
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
dateposted
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
exchratedate
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
updatelineitem
Name
Required
Type
Description
line_num
Required
integer
Line number to update
glaccountno
Optional
string
GL account number. Cannot use if using accountlabel.
accountlabel
Optional
string
AP account label. Cannot use if using glaccountno.
offsetglaccountno
Optional
string
Offset GL account number
amount
Required
currency
Transaction amount
memo
Optional
string
Memo
locationid
Optional
string
LOCATIONID of an active location. Required if company is multi-entity enabled.
departmentid
Optional
string
Department ID
customfields
Optional
array of customfield
Custom fields
projectid
Optional
string
Project ID
taskid
Optional
string
Task ID. Only available when the parent projectid is also specified.
costtypeid
Optional
string
Cost type ID. Only available when projectid and taskid are specified. (Construction subscription)
customerid
Optional
string
Customer ID
vendorid
Optional
string
Vendor ID
employeeid
Optional
string
Employee ID
itemid
Optional
string
Item ID
classid
Optional
string
Class ID
contractid
Optional
string
Contract ID
warehouseid
Optional
string
Warehouse ID
totaltrxamount
Optional
currency
Total transaction amount
taxentries
Optional
taxentry[1...n]
Tax entries for the line. Required for VAT enabled transactions. Providing multiple entries is allowed if your tax solution supports it (AU and GB only). For ZA, only one tax entry is allowed.
lineitem
Name
Required
Type
Description
glaccountno
Optional
string
GL account number. Required if not using accountlabel.
accountlabel
Optional
string
AP account label. Required if not using glaccountno.
offsetglaccountno
Optional
string
Offset GL account number
amount
Required
currency
Transaction amount. Use a positive number to create a debit memo or a negative number to create a credit memo.
memo
Optional
string
Memo
locationid
Optional
string
LOCATIONID of an active location. Required if company is multi-entity enabled.
departmentid
Optional
string
Department ID
key
Optional
string
Key
totalpaid
Optional
currency
Total paid. Used when nogl on bill is true
totaldue
Optional
currency
Total due. Used when nogl on bill is true
customfields
Optional
array of customfield
Custom fields
projectid
Optional
string
Project ID
taskid
Optional
string
Task ID. Only available when the parent projectid is also specified.
costtypeid
Optional
string
Cost type ID. Only available when projectid and taskid are specified. (Construction subscription)
customerid
Optional
string
Customer ID
vendorid
Optional
string
Vendor ID
employeeid
Optional
string
Employee ID
itemid
Optional
string
Item ID
classid
Optional
string
Class ID
contractid
Optional
string
Contract ID
warehouseid
Optional
string
Warehouse ID
totaltrxamount
Optional
currency
Total transaction amount
taxentries
Optional
taxentry[1...n]
Tax entries for the line. Required for VAT enabled transactions. Providing multiple entries is allowed if your tax solution supports it (AU and GB only). For ZA, only one tax entry is allowed.
customfield
Name
Required
Type
Description
customfieldname
Optional
string
Custom field ID
customfieldvalue
Optional
varies
Custom field value. For a multi-pick-list custom field, implode multiple field values with #~#.
taxentry (AU, GB, ZA only)
Specifies a tax rate (defined in the system) and a manually calculated tax for the adjustment line.
Name
Required
Type
Description
detailid
Required
string
Unique ID of a tax detail with the tax rate to use
trx_tax
Optional
currency
Transaction tax, which is a manually calculated value to override the calculated value for the tax. The amount of the tax line is automatically included in the read-only transaction amount (trx_amount).
Delete AR Adjustment
delete
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENT
keys
Required
string
Comma-separated list of adjustment RECORDNO to delete
Delete AR Adjustment (Legacy)
delete_aradjustment
Parameters
Name
Required
Type
Description
key
Required
integer
Record number of adjustment to delete
AR Adjustment Lines
Get AR Adjustment Line Object Definition
lookup
List all the fields and relationships for the AR adjustment line object:
List the record number and amount for each AR adjustment line:
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENTITEM
filter
Optional
object
Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Set the caseinsensitive element to true for a case-insensitive query <caseinsensitive>true</caseinsensitive>
In a multi-entity company, set the showprivate element to true to query data in private entities: <showprivate>true</showprivate>
Specify the returnformat for the response: xml (default), json, or csv <returnformat>json</returnformat>
pagesize
Optional
integer
Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100)
offset
Optional
integer
Point at which to start indexing into records (Default: 0)
Query and List AR Adjustment Lines (Legacy)
readByQuery
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENTITEM
fields
Optional
string
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
Get AR Adjustment Line
read
Parameters
Name
Required
Type
Description
object
Required
string
Use ARADJUSTMENTITEM
keys
Required
string
Comma-separated list of transaction line RECORDNO to get
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.