Treasury

Link payment to document

Links an existing payment to an invoice, credit note, quote, proforma or purchase order.

Action
treasury.payments.link
PropertyValue
Domaintreasury
Group in the editorTreasury › Payments
Runs asThe owner of the workflow, with their permissions
PermissionEdit access to Treasury. Administrators always pass; a module outside the plan blocks everyone.
DestructiveNo: the public MCP catalogue does not mark it as destructive
Also available inREST API, MCP (filmo_treasury_payments_link)

Inputs

paymentIdstringRequired

documentTypeenum<string>Required

Available options: invoice, creditNote, apInvoice, supplierInvoice, quote, proforma, salesReceipt, simpleCreditNote, purchaseOrder

documentIdstringRequired

Outputs

paymentIdstring

linkedboolean