AutoAssignPaymentTransactionCommandResponse
Runs the automatic assignment for one payment transaction now, whatever the setting for automatic assignment says. It finds the document by the transaction ID of an existing payment, by the payment reference, the amount, the customer number and the name, and can assign to sales orders, sales invoices and incoming invoices, and confirm refunds. When several documents match about equally well, nothing is assigned. A payment of an incoming invoice it records cannot be removed with ‘UnassignPaymentTransaction’. A document that becomes fully paid starts its workflows. Errors: PAYMENT_TRANSACTION_NOT_FOUND (the payment transaction was not found); PAYMENT_ACCOUNT_HIDDEN (the payment account is hidden; show it with ‘ShowPaymentAccount’ first); PAYMENT_TRANSACTION_IGNORED (the transaction is ignored; unignore it first); PAYMENT_TRANSACTION_IS_FEE (the transaction is a fee; fees are attached to the sales order of the transaction they belong to); PAYMENT_TRANSACTION_NOT_COMPLETED (the transaction is not completed yet); NO_OPEN_AMOUNT (nothing of the transaction is left to assign). - Response
AutoAssignPaymentTransactionCommandResponseFields
Whether the transaction was assigned.
What is left of the transaction afterwards.
How much of the transaction is assigned afterwards.
Other transactions whose assigned and open amounts changed with this call: fee transactions that refer to this transaction and whose fees were booked on or removed from the sales order. Empty in most cases.
Was this page helpful?