*Workflows › Reference › Actions › 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.

## At a glance

| Property | Value |
| --- | --- |
| Domain | `xero` |
| Runs as | The owner of the workflow, with their permissions |
| Permission | Edit access to Sales. Administrators always pass; a module outside the plan blocks everyone. |
| Needs an accounting provider | Xero |
| Destructive | Not declared |

ACTION `xero.syncInvoiceDraft`

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `invoiceId` | string | Yes | **Filmo invoice.** The validated invoice that must exist in Xero. If it is already linked, nothing is touched. |

## Outputs

| Name | Type | Description |
| --- | --- | --- |
| `invoiceId` | string |  |
| `xeroInvoiceId` | string |  |
| `invoiceNumber` | string |  |
| `status` | string |  |
| `total` | number |  |
| `amountDue` | number |  |
| `currencyCode` | string |  |
| `outcome` | enum<string> |  `linked`, `adopted`, `created` |

---

Canonical URL: https://docs.filmo.io/workflows/reference/actions/xero-syncinvoicedraft  
Last updated: 2026-10-25