On an AR invoice that has retainage, an AR retainage release is used to release that retainage for payment.
Returns up to 100 object references from the collection with a key, ID, and link for each AR retainage release object. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/construction/ar-retainage-release/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/construction/ar-retainage-release/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/construction/ar-retainage-release/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new AR retainage release with lines.
Updated
description required | string Description of ar-retainage-release. Example: "October retainage release" | ||||||
releaseDate | string <date> Release date. Example: "2023-01-23" | ||||||
glPostingDate | string <date> GL posting date. Example: "2023-01-23" | ||||||
state | string Default: "draft" State. Example: "draft" | ||||||
object | |||||||
| |||||||
object | |||||||
| |||||||
Array of objects AR retainage release lines. | |||||||
Array
|
Created
Bad Request
{- "id": "19",
- "description": "AR ret rel desc 101",
- "releaseDate": "2025-03-02",
- "glPostingDate": "2025-03-02",
- "state": "draft",
- "arRetainageReleaseLines": [
- {
- "txnAmountReleased": "123.00",
- "retainageInvoice": {
- "key": "232"
}, - "retainageInvoiceLine": {
- "key": "803"
}
}
]
}
{- "ia::result": {
- "key": "4",
- "id": "4",
- "href": "/objects/construction/ar-retainage-release/4"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified AR retainage release.
key required | string System-assigned unique key for the AR retainage release. Example: 60 |
OK
Bad Request
{- "ia::result": {
- "id": "60",
- "key": "60",
- "description": "Project contract invoice-PCI-00153",
- "releaseDate": "2024-03-31",
- "glPostingDate": "2024-03-31",
- "state": "released",
- "audit": {
- "createdDateTime": "2025-02-28T00:00:00Z",
- "modifiedDateTime": "2025-02-28T00:00:00Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "entity": {
- "key": "46",
- "id": "CORP",
- "name": "Corp",
- "href": "/objects/company-config/entity/46"
}, - "arRetainageReleaseLines": [
- {
- "id": "178",
- "key": "178",
- "arRetainageRelease": {
- "id": "60",
- "key": "60",
- "href": "/objects/construction/ar-retainage-release/60"
}, - "salesOrderDocument": {
- "key": "490",
- "id": "Project contract invoice-PCI-00151",
- "href": "/objects/order-entry/document/490"
}, - "retainageInvoice": {
- "key": "443",
- "id": "PCI-00151",
- "href": "/objects/accounts-receivable/invoice/443"
}, - "retainageInvoiceLine": {
- "id": "2870",
- "key": "2870",
- "href": "/objects/accounts-receivable/invoice-line/2870"
}, - "txnAmountReleased": "17500.00",
- "releasedInvoice": {
- "key": "451",
- "id": "ARRET-00040",
- "href": "/objects/accounts-receivable/invoice/451"
}, - "releasedInvoiceLine": {
- "id": "2908",
- "key": "2908",
- "href": "/objects/accounts-receivable/invoice-line/2908"
}, - "audit": {
- "createdDateTime": "2025-02-28T00:00:00Z",
- "modifiedDateTime": "2025-02-28T00:00:00Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "projectContract": {
- "id": "ST-001",
- "key": "16",
- "href": "/objects/construction/project-contract/16"
}, - "projectContractLine": {
- "id": "1",
- "key": "28",
- "href": "/objects/construction/project-contract-line/28"
}, - "href": "/objects/construction/ar-retainage-release-line/178"
}
], - "href": "/objects/construction/ar-retainage-release/60"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing AR retainage release by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the AR retainage release. Example: 60 |
description | string Description of ar-retainage-release. Example: "October retainage release" | ||||||
releaseDate | string <date> Release date. Example: "2023-01-23" | ||||||
glPostingDate | string <date> GL posting date. Example: "2023-01-23" | ||||||
state | string Default: "draft" State. Example: "draft" | ||||||
object | |||||||
| |||||||
object | |||||||
| |||||||
Array of objects AR retainage release lines. | |||||||
Array
|
OK
Bad Request
{- "description": "Updated"
}
{- "ia::result": {
- "key": "4",
- "id": "4",
- "href": "/objects/construction/ar-retainage-release/4"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes an AR retainage release.
key required | string System-assigned unique key for the AR retainage release. Example: 60 |
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
}
}
Use the query service to find AR retainage releases that meet certain criteria and to specify the properties that are returned.
OK
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
}
}