POST api/invoice/makeallocation
Make an allocation against an existing invoice
Request Information
URI Parameters
None.
Body Parameters
Details of Allocation
MakeInvoiceAllocationDataContractName | 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-07-02T03:45:22.963673Z", "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.