Accounting

Allows you to create an Allocation for prepayments

put/Prepayments/{PrepaymentID}/Allocations

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

Changed in 4 of the 58 revisions of this API.22

    • added the optional property Allocations/items/CreditNote/UpdatedDateUTCString to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/Overpayment/UpdatedDateUTCString to the response with the 200 status

      response-optional-property-added

    • added the new optional request property Allocations/items/Overpayment/Reference

      new-optional-request-property

    • added the optional property Allocations/items/Overpayment/Reference to the response with the 200 status

      response-optional-property-added

    • added the new optional request property Allocations/items/CreditNote/Contact/TaxNumberType

      new-optional-request-property

    • added the new optional request property Allocations/items/Overpayment/Contact/TaxNumberType

      new-optional-request-property

    • added the optional property Allocations/items/CreditNote/Contact/TaxNumberType to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/Overpayment/Contact/TaxNumberType to the response with the 200 status

      response-optional-property-added

    • added the new optional request property Allocations/items/CreditNote/InvoiceAddresses

      new-optional-request-property

    • added the new optional request property Allocations/items/CreditNote/LineItems/items/SalesTaxCodeId

      new-optional-request-property

    • added the new optional request property Allocations/items/CreditNote/LineItems/items/TaxBreakdown

      new-optional-request-property

    • added the new optional request property Allocations/items/CreditNote/LineItems/items/Taxability

      new-optional-request-property

    • added the new optional request property Allocations/items/Overpayment/LineItems/items/SalesTaxCodeId

      new-optional-request-property

    • added the new optional request property Allocations/items/Overpayment/LineItems/items/TaxBreakdown

      new-optional-request-property

    • added the new optional request property Allocations/items/Overpayment/LineItems/items/Taxability

      new-optional-request-property

    • added the optional property Allocations/items/CreditNote/InvoiceAddresses to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/CreditNote/LineItems/items/SalesTaxCodeId to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/CreditNote/LineItems/items/TaxBreakdown to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/CreditNote/LineItems/items/Taxability to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/Overpayment/LineItems/items/SalesTaxCodeId to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/Overpayment/LineItems/items/TaxBreakdown to the response with the 200 status

      response-optional-property-added

    • added the optional property Allocations/items/Overpayment/LineItems/items/Taxability to the response with the 200 status

      response-optional-property-added