The contract is the container for the products or services that are provided to a specified customer. It can control settings such as renewals and terms, capture compliance information, and record the transaction history for all contract lines and expenses.
Returns up to 100 object references from the collection with a key, ID, and link for each contract. 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 | Contract Core Billing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List Contracts |
OK
Bad Request
{- "ia::result": [
- {
- "key": "84",
- "id": "84",
- "href": "/objects/contracts/contract/84"
}, - {
- "key": "107",
- "id": "107",
- "href": "/objects/contracts/contract/107"
}, - {
- "key": "108",
- "id": "108",
- "href": "/objects/contracts/contract/108"
}, - {
- "key": "56",
- "id": "56",
- "href": "/objects/contracts/contract/56"
}
], - "ia::meta": {
- "totalCount": 4,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new contract.
id
is required if document sequencing is not enabled for contracts. If document sequencing is enabled, you can provide an id
value to use instead of the document sequence value.
Subscription | Contract Core Billing |
---|---|
User type | Business |
Permissions | Add Contracts |
id | string Unique ID for the contract. Example: "CON-0045-1" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name | string Contract name Example: "ACME Widgets - Service" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | string or null Description of the contract. Example: "YMCA of Metro Atlanta - 360 Support" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state | string Default: "inProgress" State of the contract. Use
Example: "inProgress" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application | string Default: "contracts" Contract Application. Use
Example: "contracts" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
startDate | string <date> Contract start date. The start date cannot be changed after a contract line has been posted to the contract. For evergreen contracts the start date determines the start day of each recurring billing period. The contract line billing frequency (Monthly, Quarterly, or Annually) determines the length of each recurring billing period. Example: "2023-01-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
endDate | string <date> Contract end date. The end date drives the renewal process. Required when Example: "2024-01-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Contract contacts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cancellationDate | string or null <date> The effective date for the contract cancellation. Example: "2023-04-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billingFrequency | string or null Default: null Billing frequency Example: "monthly" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object AR payment term for this contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Billing price used for all contract lines. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object MEA price list. Only applicable if | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
holdBilling | boolean or null Billing hold Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
holdRevenue | boolean or null Revenue hold Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
holdExpense | boolean or null Expense hold Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Currencies used in the contract. Required if company is configured for multi-currency. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isRenewable | boolean Default: false Whether the contract is enabled for renewal. Only applicable if Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billInAdvanceLength | integer or null Number of Example: 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billInAdvancePeriod | string or null Default: null Bill in advance time units. Must be set to Example: "months" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
deferEstimatedTimeBasedRevenueBy | string or null Default: null Specifies how Intacct should combine the timesheet hours associated with a Time & Materials project:
Only applicable if Example: "projectAndTask" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contractTotalAmount | string The total flat/fixed amount value of the contract (does not include usage). Example: "2300" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billedAmount | string The total amount invoiced from the contract. Example: "1000" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Supporting document attached to the contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
postMemo | string or null Post memo. Example: "Cash customer" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Created
Bad Request
{- "id": "ProjectTime_Completed_Flows34_45_4",
- "startDate": "2023-01-01",
- "endDate": "2023-12-31",
- "name": "ProjectTime_Completed_Flows",
- "dimensions": {
- "customer": {
- "key": "1"
}, - "location": {
- "key": "1"
}, - "department": {
- "key": "1"
}
}, - "currency": {
- "baseCurrency": "USD",
- "txnCurrency": "USD",
- "exchangeRateType": "Intacct Daily Rate"
}, - "paymentTerm": {
- "key": "1"
}
}
{- "ia::result": {
- "key": "124",
- "id": "ProjectTime_Completed_Flows34_45_4",
- "href": "/objects/contracts/contract/124"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified contract.
Subscription | Contract Core Billing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | View Contracts |
key required | string System-assigned key for the contract. Example: 48 |
OK
Bad Request
{- "ia::result": {
- "key": "2",
- "parent": {
- "key": null,
- "id": null
}, - "description": "contract with 2 lines all values",
- "id": "ProjectTime_Completed_Flows34_45_4",
- "state": "inProgress",
- "application": "contracts",
- "isRenewable": false,
- "renewedContract": {
- "key": null,
- "id": null
}, - "renewal": {
- "contractTermType": "termed",
- "template": "RC_24M_Price_SO",
- "termLength": 24,
- "termPeriod": "months",
- "billInAdvanceLength": null,
- "billInAdvancePeriod": "",
- "triggerDate": null,
- "date": null
}, - "startDate": "2016-01-01",
- "endDate": "2016-12-31",
- "cancellationDate": "2016-03-01",
- "name": "BaseSanity",
- "dimensions": {
- "customer": {
- "key": "2",
- "id": "2",
- "name": "Logic Solutions",
- "href": "/objects/accounts-receivable/customer/2"
}, - "location": {
- "key": "2",
- "id": "2",
- "name": "India",
- "href": "/objects/company-config/location/2"
}, - "department": {
- "key": "4",
- "id": "4",
- "name": "Human Resources",
- "href": "/objects/company-config/department/4"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "vendor": {
- "key": "54",
- "id": "208",
- "name": "Quick and Easy Payroll",
- "href": "/objects/accounts-payable/vendor/54"
}, - "employee": {
- "key": "55",
- "id": "EM 2",
- "name": "Ravi",
- "href": "/objects/company-config/employee/55"
}, - "class": {
- "key": "15",
- "id": "vsoe_class_004_R",
- "name": "vsoe_class_name_004_R",
- "href": "/objects/company-config/class/15"
}
}, - "contacts": {
- "billTo": {
- "key": "117",
- "id": "Logic Solutions(C2)",
- "href": "/objects/company-config/contact/117"
}, - "shipTo": {
- "key": "117",
- "id": "Logic Solutions(C2)",
- "href": "/objects/company-config/contact/117"
}, - "additionalContact": {
- "key": "117",
- "id": "Logic Solutions(C2)",
- "href": "/objects/company-config/contact/117"
}
}, - "billingFrequency": "quarterly",
- "paymentTerm": {
- "key": "16",
- "id": "N90",
- "href": "/objects/accounts-receivable/term/16"
}, - "billingPriceList": {
- "key": "24",
- "id": "SaaSy Pricing",
- "href": "/objects/contracts/billing-price-list/24"
}, - "meaPriceList": {
- "id": "2009 VSOE Price List USD_R",
- "key": "2",
- "href": "/objects/contracts/mea-price-list/2"
}, - "holdBilling": false,
- "holdRevenue": false,
- "holdExpense": false,
- "currency": {
- "baseCurrency": "INR",
- "txnCurrency": "INR",
- "exchangeRateType": "EUR-Rate"
}, - "billInAdvanceLength": null,
- "billInAdvancePeriod": null,
- "audit": {
- "createdDateTime": "2022-07-13T04:42:34Z",
- "modifiedDateTime": "2022-07-13T04:42:34Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "attachment": {
- "id": null,
- "key": null
}, - "status": "active",
- "contractType": {
- "key": null,
- "name": null
}, - "deferEstimatedTimeBasedRevenueBy": null,
- "postMemo": null,
- "contractTotalAmount": 1728,
- "billedAmount": 0,
- "href": "/objects/contracts/contract/2"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing contract by setting field values. Any fields not provided remain unchanged.
Subscription | Contract Core Billing |
---|---|
User type | Business |
Permissions | Edit Contract |
key required | string System-assigned key for the contract. Example: 48 |
name | string Contract name Example: "ACME Widgets - Service" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | string or null Description of the contract. Example: "YMCA of Metro Atlanta - 360 Support" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state | string Default: "inProgress" State of the contract. Use
Example: "inProgress" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application | string Default: "contracts" Contract Application. Use
Example: "contracts" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
startDate | string <date> Contract start date. The start date cannot be changed after a contract line has been posted to the contract. For evergreen contracts the start date determines the start day of each recurring billing period. The contract line billing frequency (Monthly, Quarterly, or Annually) determines the length of each recurring billing period. Example: "2023-01-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
endDate | string <date> Contract end date. The end date drives the renewal process. Required when Example: "2024-01-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Contract contacts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cancellationDate | string or null <date> The effective date for the contract cancellation. Example: "2023-04-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billingFrequency | string or null Default: null Billing frequency Example: "monthly" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object AR payment term for this contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Billing price used for all contract lines. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object MEA price list. Only applicable if | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
holdBilling | boolean or null Billing hold Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
holdRevenue | boolean or null Revenue hold Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
holdExpense | boolean or null Expense hold Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Currencies used in the contract. Required if company is configured for multi-currency. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isRenewable | boolean Default: false Whether the contract is enabled for renewal. Only applicable if Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billInAdvanceLength | integer or null Number of Example: 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billInAdvancePeriod | string or null Default: null Bill in advance time units. Must be set to Example: "months" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
deferEstimatedTimeBasedRevenueBy | string or null Default: null Specifies how Intacct should combine the timesheet hours associated with a Time & Materials project:
Only applicable if Example: "projectAndTask" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contractTotalAmount | string The total flat/fixed amount value of the contract (does not include usage). Example: "2300" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billedAmount | string The total amount invoiced from the contract. Example: "1000" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Supporting document attached to the contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
postMemo | string or null Post memo. Example: "Cash customer" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "location": {
- "key": "6"
}, - "contacts": {
- "billTo": {
- "key": "2"
}
}
}
{- "ia::result": {
- "key": "121",
- "id": "CON-0045-1",
- "href": "/objects/contracts/contract/121"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a contract. You can delete a contract if there are no related records. For example, you can delete a contract if there are no contract lines, no expense lines, no signed-off compliance tasks, no notes, and so on. If there are related records, delete each record and then delete the contract.
If you cannot delete a related record, cancel the contract instead.
Subscription | Contract Core Billing |
---|---|
User type | Business |
Permissions | Delete Contracts |
key required | string System-assigned key for the contract. Example: 48 |
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
}
}
renew contracts
key required | string System-assigned unique key of the contract. Example: "518" |
OK
Bad Request
{- "key": "895"
}
{- "ia::result": {
- "key": "895",
- "state": "notRenewed",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Contract expiration is the point in time when the contract state is changed to 'not-renewed' for contracts that do not have renewal provisions.
key required | string System-assigned unique key of the contract. Example: "518" |
OK
Bad Request
{- "key": "895"
}
{- "ia::result": {
- "key": "895",
- "state": "renewed",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
The uncancel process unwinds all of the system-created journal entries that resulted from the cancellation.
key required | string System-assigned unique key of the contract. Example: "518" |
OK
Bad Request
{- "key": "895"
}
{- "ia::result": {
- "key": "895",
- "state": "inProgress",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Placing a contract schedule on hold temporarily pauses the revenue, billing, or expense schedule. This action sets the status of the schedule and its entries to onHold.
key required | string Contract line key Example: "2" |
contractLineKeys required | string Contract lines key Example: "2,3" |
asOfDate required | string <date> The hold takes effect on the date that you mention and schedules will be on hold. Example: "2022-01-01" |
memo required | string Hold Memo Example: "hold schedules for march month" |
holdBilling required | boolean Billing to be hold Example: true |
holdRevenue required | boolean Revenue to be hold Example: false |
holdExpense required | boolean Expense to be hold Example: true |
OK
Bad Request
{- "key": "895",
- "contractLineKeys": "1539,1540",
- "asOfDate": "2024-01-01",
- "memo": "hold schedule for amazon company",
- "holdBilling": true,
- "holdRevenue": true,
- "holdExpense": false
}
{- "ia::result": {
- "key": "895",
- "state": "inProgress",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Resumes a contract schedule releases the hold effective as of the resume date and allows the open periods to be available for posting or invoicing.
key required | string Contract line key Example: "2" |
contractLineKeys required | string Contract lines key Example: "2,3" |
asOfDate required | string <date> resume date Example: "2022-01-01" |
memo required | string resume date Example: "hold schedules for march month" |
resumeBilling required | boolean Resume Billing Example: true |
resumeRevenue required | boolean Resume Revenue Example: true |
resumeExpense required | boolean Resume Expense Example: true |
revenueAdjustmentType | string Default: "template" Revenue adjustment type Example: "template" |
OK
Bad Request
{- "key": "895",
- "contractLineKeys": "1539,1540",
- "asOfDate": "2024-01-01",
- "memo": "resumed schedules on march month",
- "resumeBilling": true,
- "resumeRevenue": true,
- "resumeExpense": false,
- "revenueAdjustmentType": "oneTime"
}
{- "ia::result": {
- "key": "895",
- "state": "inProgress",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Clearing an MEA allocation unposts previously posted revenue
key required | string System-assigned unique key of the contract. Example: "518" |
OK
Bad Request
{- "key": "895"
}
{- "ia::result": {
- "key": "895",
- "state": "inProgress",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
clear MEA allocations to reset the applicable revenue schedules to the amounts that existed prior to the MEA allocation
key required | string System-assigned unique key of the contract. Example: "518" |
OK
Bad Request
{- "key": "895"
}
{- "ia::result": {
- "key": "895",
- "state": "inProgress",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Posting a draft contract sets the contract and all existing draft contract lines and expense lines to "In progress".
key required | string System-assigned unique key of the contract. Example: "518" |
glPostingDate | string <date> GL posting date is the date when a financial transaction is recorded in the General Ledger. Example: "2022-01-01" |
postMemo | string post date memo description. Example: "hold schedules for march month" |
OK
Bad Request
{- "key": "895",
- "glPostingDate": "2024-01-01",
- "postMemo": "Post Draft contract"
}
{- "ia::result": {
- "key": "895",
- "state": "inProgress",
- "href": "/objects/contracts/contract/895"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find contracts that meet certain criteria and to specify the properties that are returned.
OK