Accounting

Allows you to create an Allocation for prepayments

Changed on
put/Prepayments/{PrepaymentID}/Allocations

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • URL
    https://api.xero.com/api.xro/2.0/Prepayments/{PrepaymentID}/Allocations
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: accounting.transactions

Path parameters

PrepaymentIDstring uuid required

Unique identifier for a PrePayment

Query parameters

summarizeErrorsboolean

If false return 200 OK and mix of successfully created objects and any with validation errors

Headers

Idempotency-Keystring

This allows you to safely retry requests without the risk of duplicate processing. 128 character max.

Request body

Response

Success - return response of type Allocations array of Allocation for all Prepayment

Changes

    • info

      the request optional property /// became not read-only

    • info

      the response optional property /// became not read-only for the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status