POST api/invoice/makeallocation
Make an allocation against an existing invoice
Request Information
URI Parameters
None.
Body Parameters
Details of Allocation
MakeInvoiceAllocationDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| DateTime | date |
None. |
|
| AccountId | integer |
None. |
|
| InvoiceItemAllocations | Collection of InvoiceItemAllocationDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"InvoiceId": 1,
"Amount": 2.0,
"DateTime": "2025-11-12T14:45:42.5296182Z",
"AccountId": 3,
"InvoiceItemAllocations": [
{
"Amount": 1.0,
"InvoiceItemId": 2
},
{
"Amount": 1.0,
"InvoiceItemId": 2
}
]
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.