Create a new invoice in Xero. Supports both sales invoices (ACCREC) and bills (ACCPAY).
DateInvoice date in YYYY-MM-DD format.
TypeRequiredstringInvoice type: ACCREC (accounts receivable/sales) or ACCPAY (accounts payable/bills).
StatusstringInvoice status.
DueDatestringDue date in YYYY-MM-DD format.
ContactIDstringXero Contact ID (UUID). At least one of contact_id or contact_name must be provided.
LineItemsRequiredarrayList of line items for the invoice.
ReferencestringReference or purchase order number.
tenant_idstringXero tenant/organization ID. If not provided, uses the first connected tenant. In multi-org setups, pass the same tenant_id consistently across all Xero tool calls.
ContactNamestringContact name. At least one of contact_id or contact_name must be provided.
CurrencyCodestringCurrency code (e.g., USD, EUR).
InvoiceNumberstringInvoice number (auto-generated if not provided). WARNING: If this matches an existing invoice number, Xero will attempt to UPDATE that invoice instead of creating a new one. Omit this field to ensure a new invoice is created, or ensure the number is unique.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.