Contracts

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.

List contracts

get/objects/contracts/contract

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.

Permissions and other requirements
SubscriptionContract Core Billing
User typeBusiness, Employee, Project Manager, Warehouse
PermissionsList Contracts
SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "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
    }
}

Create a contract

post/objects/contracts/contract

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.

Permissions and other requirements
SubscriptionContract Core Billing
User typeBusiness
PermissionsAdd Contracts
SecurityOAuth2
Request
Request Body schema: application/json
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.

Enum: "active" "inactive"
Example: "active"
state
string
Default: "inProgress"

State of the contract. Use draft when creating a contract that is not ready to post to the general ledger.

  • draft: The contract was saved as a preliminary version. A draft contract has no effect on the General Ledger.
  • inProgress: The contract was posted and is considered in effect. A contract keeps this state until it is renewed, ends without being renewed, or is canceled.
  • canceled: All contract schedules (revenue, expense, and billing) were canceled for all contract lines associated with this contract.
  • notRenewed: The contract completed its term, but it was not renewed. Only applicable if termType = termed.
  • renewed: The contract was renewed. Only applicable if termType = termed.
Enum: "canceled" "draft" "inProgress" "notRenewed" "renewed"
Example: "inProgress"
application
string
Default: "contracts"

Contract Application. Use contracts for standard contracts and orderEntry for order entry contracts.

  • contracts: Standard contracts - used for billing and revenue recognition, available for contract module users.
  • orderEntry: Order entry contracts - used for tracking only, available for contract module users and as dimension.
Enum: "contracts" "orderEntry"
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 termType = termed.

Example: "2024-01-01"
object

Contract contacts

object

Contact to ship to. Leave blank to use customer's default.

key
string
Example: "1482"
id
string
Example: "Gruppen (Estate Europe) Services ABCUS-RT-0010"
object

Contact to bill to. Leave blank to use customer's default.

key
string
Example: "1482"
id
string
Example: "Gruppen (Estate Europe) Services ABCUS-RT-0010"
object

Additional Contact. Order Entry Specific Field.

key
string or null
Example: "1482"
id
string or null
Example: "Gruppen (Estate Europe) Services ABCUS-RT-0010"
cancellationDate
string or null <date>

The effective date for the contract cancellation.

Example: "2023-04-01"
billingFrequency
string or null
Default: null

Billing frequency

Enum: "annually" "monthly" null "quarterly"
Example: "monthly"
object

AR payment term for this contract.

key
string
Example: "16"
id
string
Example: "N90"
object

Billing price used for all contract lines.

key
string

Billing price list key

Example: "12"
id
string
Example: "SoftwarePackages"
object

MEA price list. Only applicable if termType = termed and the company is subscribed to Contract Advanced Revenue Recognition.

key
string

MEA price list key

Example: "12"
id
string
Example: "Services MEA Price List"
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.

exchangeRateType
string

Exchange rate type. Leave blank to use Intacct Daily Rate. The exchange rate type cannot be changed after a contract line is posted to the contract.

Example: "EUR-Rate"
baseCurrency
string

Base currency. Defaults to the base currency associated with the selected location/entity.

Example: "USD"
txnCurrency
string

Transaction currency. Defaults to the transaction currency associated with the selected customer. All contract lines have the same transaction currency. The transaction currency cannot be changed after a contract line is posted to the contract.

Example: "USD"
isRenewable
boolean
Default: false

Whether the contract is enabled for renewal. Only applicable if termType = termed.

Example: false
object
template
string

Renewal template. Only used if renewal is true.

Example: "12 months with notifications"
contractTermType
string
Default: "termed"

Contract term type:

  • termed - a traditional payment term such as Net 30
  • evergreen - perpetual contract
Enum: "evergreen" "termed"
Example: "termed"
termLength
integer or null

How frequently the contract is renewed, counted in renewTermPeriods (days, months, or years). Only applicable if termType = termed.

Example: 12
termPeriod
string
Default: "months"

Renewal term period. Only applicable if termType = termed.

Enum: "days" "months" "years"
Example: "months"
triggerDate
string <date>

Trigger date.

Example: "2024-12-01"
date
string <date>

Renewal date.

Example: "2024-12-01"
billInAdvanceLength
integer or null

Number of renewalBillInAdvancePeriod units (months or days) before the renewal date to bill the customer. Overrides bill-in-advance settings on the customer.

Example: 2
billInAdvancePeriod
string or null
Default: null

Renewal bill in advance time units. Must be set to days or months if using bill in advance for renewals.

Enum: "days" "months" null
Example: "days"
billInAdvanceLength
integer or null

Number of billInAdvancePeriod units (months or days) before the contract start date to bill the customer. Overrides bill-in-advance settings on the customer.

Example: 1
billInAdvancePeriod
string or null
Default: null

Bill in advance time units. Must be set to days or months if using bill in advance.

Enum: "days" "months" null
Example: "months"
key
string
Example: "1"
name
string
Example: "service"
deferEstimatedTimeBasedRevenueBy
string or null
Default: null

Specifies how Intacct should combine the timesheet hours associated with a Time & Materials project:

  • project: All hours billed from timesheets associated with the project will be used to determine actual revenue for the contract line. There can only be one In progress Project time contract line in the contract linked to a particular project.
  • projectAndItem: All hours billed from timesheets associated with a particular item and with a particular project will be combined and used to determine the actual revenue for the contract line. Each project/item combination on each Project time contract line within a contract must be unique.
  • projectAndTask: All hours billed from timesheets associated with a particular task and with a particular project will be combined and used to determine the actual revenue for the contract line. Each project/task combination on each Project time contract line within a contract must be unique.

Only applicable if termType = termed and "Enable deferred revenue for Time & Materials projects" is turned on for the company.

Enum: null "project" "projectAndItem" "projectAndTask"
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.

key
string

System-assigned key for the supporting document.

Example: "18"
id
string

System-assigned ID for the supporting document.

Example: "18"
postMemo
string or null

Post memo.

Example: "Cash customer"
object
object

Location or entity associated with the contract. This field is required in a multi-entity environment. Contract lines are restricted to the specified location or entity or to a child of the location or entity.

key
string

Location Key

Example: "22"
id
string

Location

Example: "LOC-22"
object

Department associated with the contract.

key
string

Department Key

Example: "11"
id
string

Department

Example: "DEP-11"
name
string

Department name

Example: "Human Resources"
object
key
string

Class Key

Example: "731"
id
string

Class ID

Example: "REST_CLS_001"
object
id
string

Task ID

Example: "1"
key
string

Task Key

Example: "1"
object
key
string

Vendor Key

Example: "357"
id
string

Vendor ID

Example: "1605212096809"
object

Customer that the contract is associated with. The customer cannot be changed after a contract line has been posted to the contract.

key
string

Customer Key

Example: "250"
id
string

Customer ID

Example: "CUS-RT-0011"
object
key
string

Project Key

Example: "2"
id
string

Project ID

Example: "NET-XML30-2"
object
key
string

Employee Key

Example: "10"
id
string

Employee ID

Example: "EMP-10"
Responses
201

Created

400

Bad Request

Request samples
application/json
{
  • "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"
    }
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "124",
    • "id": "ProjectTime_Completed_Flows34_45_4",
    • "href": "/objects/contracts/contract/124"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Get a contract

get/objects/contracts/contract/{key}

Returns detailed information for a specified contract.

Permissions and other requirements
SubscriptionContract Core Billing
User typeBusiness, Employee, Project Manager, Warehouse
PermissionsView Contracts
SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the contract.

Example: 48
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "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": {
        },
      • "location": {
        },
      • "department": {
        },
      • "project": {
        },
      • "vendor": {
        },
      • "employee": {
        },
      • "class": {
        }
      },
    • "contacts": {},
    • "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
    }
}

Update a contract

patch/objects/contracts/contract/{key}

Updates an existing contract by setting field values. Any fields not provided remain unchanged.

Permissions and other requirements
SubscriptionContract Core Billing
User typeBusiness
PermissionsEdit Contract
SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the contract.

Example: 48
Request Body schema: application/json
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.

Enum: "active" "inactive"
Example: "active"
state
string
Default: "inProgress"

State of the contract. Use draft when creating a contract that is not ready to post to the general ledger.

  • draft: The contract was saved as a preliminary version. A draft contract has no effect on the General Ledger.
  • inProgress: The contract was posted and is considered in effect. A contract keeps this state until it is renewed, ends without being renewed, or is canceled.
  • canceled: All contract schedules (revenue, expense, and billing) were canceled for all contract lines associated with this contract.
  • notRenewed: The contract completed its term, but it was not renewed. Only applicable if termType = termed.
  • renewed: The contract was renewed. Only applicable if termType = termed.
Enum: "canceled" "draft" "inProgress" "notRenewed" "renewed"
Example: "inProgress"
application
string
Default: "contracts"

Contract Application. Use contracts for standard contracts and orderEntry for order entry contracts.

  • contracts: Standard contracts - used for billing and revenue recognition, available for contract module users.
  • orderEntry: Order entry contracts - used for tracking only, available for contract module users and as dimension.
Enum: "contracts" "orderEntry"
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 termType = termed.

Example: "2024-01-01"
object

Contract contacts

object

Contact to ship to. Leave blank to use customer's default.

key
string
Example: "1482"
id
string
Example: "Gruppen (Estate Europe) Services ABCUS-RT-0010"
object

Contact to bill to. Leave blank to use customer's default.

key
string
Example: "1482"
id
string
Example: "Gruppen (Estate Europe) Services ABCUS-RT-0010"
object

Additional Contact. Order Entry Specific Field.

key
string or null
Example: "1482"
id
string or null
Example: "Gruppen (Estate Europe) Services ABCUS-RT-0010"
cancellationDate
string or null <date>

The effective date for the contract cancellation.

Example: "2023-04-01"
billingFrequency
string or null
Default: null

Billing frequency

Enum: "annually" "monthly" null "quarterly"
Example: "monthly"
object

AR payment term for this contract.

key
string
Example: "16"
id
string
Example: "N90"
object

Billing price used for all contract lines.

key
string

Billing price list key

Example: "12"
id
string
Example: "SoftwarePackages"
object

MEA price list. Only applicable if termType = termed and the company is subscribed to Contract Advanced Revenue Recognition.

key
string

MEA price list key

Example: "12"
id
string
Example: "Services MEA Price List"
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.

exchangeRateType
string

Exchange rate type. Leave blank to use Intacct Daily Rate. The exchange rate type cannot be changed after a contract line is posted to the contract.

Example: "EUR-Rate"
baseCurrency
string

Base currency. Defaults to the base currency associated with the selected location/entity.

Example: "USD"
txnCurrency
string

Transaction currency. Defaults to the transaction currency associated with the selected customer. All contract lines have the same transaction currency. The transaction currency cannot be changed after a contract line is posted to the contract.

Example: "USD"
isRenewable
boolean
Default: false

Whether the contract is enabled for renewal. Only applicable if termType = termed.

Example: false
object
template
string

Renewal template. Only used if renewal is true.

Example: "12 months with notifications"
contractTermType
string
Default: "termed"

Contract term type:

  • termed - a traditional payment term such as Net 30
  • evergreen - perpetual contract
Enum: "evergreen" "termed"
Example: "termed"
termLength
integer or null

How frequently the contract is renewed, counted in renewTermPeriods (days, months, or years). Only applicable if termType = termed.

Example: 12
termPeriod
string
Default: "months"

Renewal term period. Only applicable if termType = termed.

Enum: "days" "months" "years"
Example: "months"
triggerDate
string <date>

Trigger date.

Example: "2024-12-01"
date
string <date>

Renewal date.

Example: "2024-12-01"
billInAdvanceLength
integer or null

Number of renewalBillInAdvancePeriod units (months or days) before the renewal date to bill the customer. Overrides bill-in-advance settings on the customer.

Example: 2
billInAdvancePeriod
string or null
Default: null

Renewal bill in advance time units. Must be set to days or months if using bill in advance for renewals.

Enum: "days" "months" null
Example: "days"
billInAdvanceLength
integer or null

Number of billInAdvancePeriod units (months or days) before the contract start date to bill the customer. Overrides bill-in-advance settings on the customer.

Example: 1
billInAdvancePeriod
string or null
Default: null

Bill in advance time units. Must be set to days or months if using bill in advance.

Enum: "days" "months" null
Example: "months"
key
string
Example: "1"
name
string
Example: "service"
deferEstimatedTimeBasedRevenueBy
string or null
Default: null

Specifies how Intacct should combine the timesheet hours associated with a Time & Materials project:

  • project: All hours billed from timesheets associated with the project will be used to determine actual revenue for the contract line. There can only be one In progress Project time contract line in the contract linked to a particular project.
  • projectAndItem: All hours billed from timesheets associated with a particular item and with a particular project will be combined and used to determine the actual revenue for the contract line. Each project/item combination on each Project time contract line within a contract must be unique.
  • projectAndTask: All hours billed from timesheets associated with a particular task and with a particular project will be combined and used to determine the actual revenue for the contract line. Each project/task combination on each Project time contract line within a contract must be unique.

Only applicable if termType = termed and "Enable deferred revenue for Time & Materials projects" is turned on for the company.

Enum: null "project" "projectAndItem" "projectAndTask"
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.

key
string

System-assigned key for the supporting document.

Example: "18"
id
string

System-assigned ID for the supporting document.

Example: "18"
postMemo
string or null

Post memo.

Example: "Cash customer"
object
object

Location or entity associated with the contract. This field is required in a multi-entity environment. Contract lines are restricted to the specified location or entity or to a child of the location or entity.

key
string

Location Key

Example: "22"
id
string

Location

Example: "LOC-22"
object

Department associated with the contract.

key
string

Department Key

Example: "11"
id
string

Department

Example: "DEP-11"
name
string

Department name

Example: "Human Resources"
object
key
string

Class Key

Example: "731"
id
string

Class ID

Example: "REST_CLS_001"
object
id
string

Task ID

Example: "1"
key
string

Task Key

Example: "1"
object
key
string

Vendor Key

Example: "357"
id
string

Vendor ID

Example: "1605212096809"
object

Customer that the contract is associated with. The customer cannot be changed after a contract line has been posted to the contract.

key
string

Customer Key

Example: "250"
id
string

Customer ID

Example: "CUS-RT-0011"
object
key
string

Project Key

Example: "2"
id
string

Project ID

Example: "NET-XML30-2"
object
key
string

Employee Key

Example: "10"
id
string

Employee ID

Example: "EMP-10"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "location": {
    • "key": "6"
    },
  • "contacts": {
    • "billTo": {
      • "key": "2"
      }
    }
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "121",
    • "id": "CON-0045-1",
    • "href": "/objects/contracts/contract/121"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Delete a contract

delete/objects/contracts/contract/{key}

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.

Permissions and other requirements
SubscriptionContract Core Billing
User typeBusiness
PermissionsDelete Contracts
SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the contract.

Example: 48
Responses
204

No Content

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}

renew contract

post/workflows/contracts/contract/renew

renew contracts

SecurityOAuth2
Request
Request Body schema: application/json
key
required
string

System-assigned unique key of the contract.

Example: "518"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "notRenewed",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

expire contract

post/workflows/contracts/contract/expire

Contract expiration is the point in time when the contract state is changed to 'not-renewed' for contracts that do not have renewal provisions.

SecurityOAuth2
Request
Request Body schema: application/json
key
required
string

System-assigned unique key of the contract.

Example: "518"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "renewed",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

uncancel contract

post/workflows/contracts/contract/uncancel

The uncancel process unwinds all of the system-created journal entries that resulted from the cancellation.

SecurityOAuth2
Request
Request Body schema: application/json
key
required
string

System-assigned unique key of the contract.

Example: "518"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "inProgress",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

hold contract schedules

post/workflows/contracts/contract/hold-schedules

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.

SecurityOAuth2
Request
Request Body schema: application/json
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
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895",
  • "contractLineKeys": "1539,1540",
  • "asOfDate": "2024-01-01",
  • "memo": "hold schedule for amazon company",
  • "holdBilling": true,
  • "holdRevenue": true,
  • "holdExpense": false
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "inProgress",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

resume contract schedules

post/workflows/contracts/contract/resume-schedules

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.

SecurityOAuth2
Request
Request Body schema: application/json
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

Enum: "distributed" "oneTime" "template" "walkForward"
Example: "template"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895",
  • "contractLineKeys": "1539,1540",
  • "asOfDate": "2024-01-01",
  • "memo": "resumed schedules on march month",
  • "resumeBilling": true,
  • "resumeRevenue": true,
  • "resumeExpense": false,
  • "revenueAdjustmentType": "oneTime"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "inProgress",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

clear last active MEA

post/workflows/contracts/contract/clear-last-active-mea

Clearing an MEA allocation unposts previously posted revenue

SecurityOAuth2
Request
Request Body schema: application/json
key
required
string

System-assigned unique key of the contract.

Example: "518"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "inProgress",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

clear all MEA of a contract

post/workflows/contracts/contract/clear-all-mea

clear MEA allocations to reset the applicable revenue schedules to the amounts that existed prior to the MEA allocation

SecurityOAuth2
Request
Request Body schema: application/json
key
required
string

System-assigned unique key of the contract.

Example: "518"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "inProgress",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

post contract

post/workflows/contracts/contract/post

Posting a draft contract sets the contract and all existing draft contract lines and expense lines to "In progress".

SecurityOAuth2
Request
Request Body schema: application/json
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"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "key": "895",
  • "glPostingDate": "2024-01-01",
  • "postMemo": "Post Draft contract"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "895",
    • "state": "inProgress",
    • "href": "/objects/contracts/contract/895"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query contracts

post/services/core/query

Use the query service to find contracts that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

Request samples