Summaries are collections of the same type of transactions, grouped together for processing. Summaries can be either opened or closed. Invoices, adjustments, and deposits can be added to open summaries.
Returns a collection with a key, ID, and link for each AR summary. 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": "2",
- "id": "2",
- "href": "/objects/accounts-receivable/summary/2"
}, - {
- "key": "6",
- "id": "6",
- "href": "/objects/accounts-receivable/summary/6"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new AR summary.
name required | string Name for the AR summary. The system uses this name to identify the summary throughout the Accounts Receivable application. Example: "Invoices: 2019/12/01 Batch" | ||||
glPostingDate required | string <date> The date summary items post to the general ledger. Example: "2023-05-10" | ||||
recordType required | string Default: "invoice" This determines the type of transaction that the summary contains. Options Invoice (ri), Adjustment (ra), Payments (rp), ManualDeposit (ri/rp), Discounts (rd). Example: "invoice" | ||||
status required | 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: "open" State of the summary, which can be Example: "open" | ||||
object Parent of the AR summary. | |||||
| |||||
preventGLPosting | boolean Default: false Set to Example: false | ||||
isQuickPaymentSummary | boolean Default: false This field is set to true only for manual and quick payment summaries. It is set to false for transactions of type invoice/adjustment. Example: false |
Created
Bad Request
{- "name": "Invoices: 2019/12/01 Batch",
- "glPostingDate": "2023-05-10",
- "status": "active",
- "recordType": "invoice",
- "state": "open",
- "preventGLPosting": false,
- "isQuickPaymentSummary": false
}
{- "ia::result": {
- "key": "14",
- "id": "14",
- "href": "/objects/accounts-receivable/summary/14"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified AR summary.
key required | string System-assigned key for the summary. Example: 173 |
OK
Bad Request
{- "ia::result": {
- "key": "14",
- "id": "14",
- "name": "Invoices: 2019/12/01 Batch",
- "glPostingDate": "2019-12-01",
- "status": "active",
- "recordType": "invoice",
- "totalAmount": "100",
- "state": "open",
- "parent": {
- "id": "11",
- "key": "11"
}, - "preventGLPosting": false,
- "summaryCreationType": "manual",
- "isQuickPaymentSummary": false,
- "href": "/objects/accounts-receivable/summary/14",
- "entity": {
- "key": null,
- "id": null,
- "name": null
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing AR summary by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the summary. Example: 173 |
name | string Name for the AR summary. The system uses this name to identify the summary throughout the Accounts Receivable application. Example: "Invoices: 2019/12/01 Batch" | ||||
glPostingDate | string <date> The date summary items post to the general ledger. Example: "2023-05-10" | ||||
recordType | string Default: "invoice" This determines the type of transaction that the summary contains. Options Invoice (ri), Adjustment (ra), Payments (rp), ManualDeposit (ri/rp), Discounts (rd). Example: "invoice" | ||||
state | string Default: "open" State of the summary, which can be Example: "open" | ||||
object Parent of the AR summary. | |||||
| |||||
preventGLPosting | boolean Default: false Set to Example: false | ||||
isQuickPaymentSummary | boolean Default: false This field is set to true only for manual and quick payment summaries. It is set to false for transactions of type invoice/adjustment. Example: false | ||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "name": "Invoices: 2019/12/01 Batch",
- "glPostingDate": "2023-05-10",
- "status": "active",
- "recordType": "invoice",
- "state": "open",
- "preventGLPosting": false,
- "isQuickPaymentSummary": false
}
{- "ia::result": {
- "key": "14",
- "id": "14",
- "href": "/objects/accounts-receivable/summary/14"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an AR summary.
key required | string System-assigned key for the summary. Example: 173 |
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 summaries that meet certain criteria and to specify the properties that are returned.
OK