AllocatetoInvoice
Allocates a document against an Invoice.
Input
| Name | Type | Required | Description |
| Type | String | True | The type of document to allocate.
The allowed values are CreditNotes, Overpayments, Prepayments. |
| DocumentId | String | True | The Id of the document to be allocated. |
| InvoiceId | String | True | The invoice this document is being allocated against. |
| AppliedAmount | String | True | The amount being applied to the invoice. |
| TenantId | String | False | The ID of the tenant to query instead of the connection tenant |
| Date | String | False | The date the overpayment is applied. |
Result Set Columns
| Name | Type | Description |
| Success | String | A boolean indicating if the operation was successful. |