xero

Send invoice to Xero as a draft

Leaves the invoice as a draft in Xero, regardless of its status in Filmo, for the accountant to approve there: uses the link, adopts the existing invoice, or creates it with the contact and taxes from the connection. A validated invoice is sent with its Filmo number and checked total; a draft is sent without a number (Xero assigns its own) and, on approval, Filmo numbers it using its series and writes that number to Xero. An already linked draft is updated in place; an invoice already approved in Xero is left unchanged.

Action
xero.syncInvoiceDraft
PropertyValue
Domainxero
Runs asThe owner of the workflow, with their permissions
PermissionEdit access to Sales. Administrators always pass; a module outside the plan blocks everyone.
Needs an accounting providerXero
DestructiveNot declared

Inputs

invoiceIdstringRequired

**Filmo invoice.** The validated invoice that must exist in Xero. If it is already linked, nothing is touched.

Outputs

invoiceIdstring

xeroInvoiceIdstring

invoiceNumberstring

statusstring

totalnumber

amountDuenumber

currencyCodestring

outcomeenum<string>

Available options: linked, adopted, created