# Create a financial allocation, between a sales credit and a sales invoice. This effectively reconciles a sales credit against a sales invoice. Endpoint: POST /api/v3/financialAllocations Version: 3.0.12 Security: X-Auth-Token ## Request fields (application/json): - `accountId` (integer, required) The finance account ID (required if the account code is not provided). - `importType` (string, required) The import type (can be one of the following values: 'PAYMENT', 'ALLOCATION'). - `nominalCode` (string) Nominal code code value, Note: not required for allocations. - `date` (string, required) Intended receipt date value - `paymentReference` (string, required) Payment reference for Transaction. - `externalReference` (string, required) External system receipt reference, if exported from an external system, this is the external system unique identifier for the transaction. - `amount` (number, required) Intended allocation amount value - `sourceInvoiceId` (integer, required) The invoice ID of the source credit to allocate. - `targetInvoiceId` (integer, required) The invoice ID of the target invoice to be allocated against. ## Response 200 fields