v54

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01235140905.8 KB
Accounting

Deletes an Allocation from a Prepayment

delete/Prepayments/{PrepaymentID}/Allocations/{AllocationID}

Path parameters

PrepaymentIDstring uuid required

Unique identifier for a PrePayment

AllocationIDstring uuid required

Unique identifier for Allocation object

Response

Success - return response of type Allocation with the isDeleted flag as true

AllocationIDstring uuid

Xero generated unique identifier

Amountnumber double required

the amount being applied to the invoice

Datestring required

the date the allocation is applied YYYY-MM-DD.

IsDeletedboolean

A flag that returns true when the allocation is succesfully deleted

StatusAttributeStringstring

A string to indicate if a invoice status