Skip to content

Invoice Synchronisation with Xero

When Vera is connected to Xero, invoices are automatically synchronised so your accounting records stay up to date.

The following invoice data is sent from Vera to Xero:

  • Invoice number and reference
  • Customer/contact details
  • Invoice date and due date
  • All line items (description, quantity, unit amount, tax, account code)
  • Currency code
  • Invoice status (Draft, Submitted, Paid)

Vera to Xero (automatic):

  • When you create an invoice in Vera, it is automatically created in Xero
  • When you update an invoice, the changes sync to Xero
  • When you delete an invoice, it is voided in Xero (Xero does not allow true deletion)

Xero to Vera (via webhooks):

  • When an invoice is updated in Xero (e.g., marked as paid), Vera receives a notification
  • Payment data is automatically fetched and displayed in Vera
  • Status changes in Xero are reflected in Vera

Screenshot: An invoice detail page showing the sync status with Xero, with payment information that has been synced back from Xero.

  • Invoices created directly in Xero are not synced to Vera — the sync is initiated from Vera
  • Sync happens in the background via a job queue, so there may be a short delay
  • All dates are handled in UTC to prevent timezone conversion issues

If an invoice is modified in both Vera and Xero, the system detects the conflict and marks the invoice as out of sync. This happens when:

  • The gross total, net total, or tax amount differs
  • The invoice date or due date was changed in Xero
  • The number of line items differs

When out of sync, further automatic syncing is paused to prevent data loss. You will need to review and resolve the discrepancy manually.