POST api/invoice/makeallocation
Make an allocation against an existing invoice Processes this invoice API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
Details of Allocation
MakeInvoiceAllocationDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceId |
The unique identifier of the related invoice resource. |
integer |
None. |
| Amount |
The amount value. |
decimal number |
None. |
| DateTime |
The date time, expressed as a date and time. |
date |
None. |
| AccountId |
The unique identifier of the related account resource. |
integer |
None. |
| TransactionPresentationGroupId |
The unique identifier of the related transaction presentation group resource. |
integer |
None. |
| TransactionPresentationSequence |
The transaction presentation sequence value. |
integer |
None. |
| InvoiceItemAllocations |
The collection of invoice item allocations. |
Collection of InvoiceItemAllocationDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
application/json, text/json
Sample:
{
"InvoiceId": 1,
"Amount": 2.0,
"DateTime": "2026-08-07T18:00:48.7125861Z",
"AccountId": 3,
"TransactionPresentationGroupId": 1,
"TransactionPresentationSequence": 1,
"InvoiceItemAllocations": [
{
"Amount": 1.0,
"InvoiceItemId": 2
},
{
"Amount": 1.0,
"InvoiceItemId": 2
}
]
}
Response Information
Resource Description
The response returned after the operation completes.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.