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
NameDescriptionTypeAdditional 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.

InvoiceItemAllocations

The collection of invoice item allocations.

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": "2026-08-05T00:14:31.5922393Z",
  "AccountId": 3,
  "InvoiceItemAllocations": [
    {
      "Amount": 1.0,
      "InvoiceItemId": 2
    },
    {
      "Amount": 1.0,
      "InvoiceItemId": 2
    }
  ]
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.