Skip to main content
Version: Current

Invoice

Overview

Direction: Xero → Zudello
Sync Type: Incremental sync
Purpose: Historical purchase invoice data with comprehensive line item detail and tracking

Invoice data flows from Xero to Zudello to provide historical purchase invoice information with comprehensive line item detail and tracking category support.

Filtering Logic

The integration only processes purchase invoices (type ACCPAY) from Xero.

Header Field Mappings

Zudello FieldXero FieldData TypeNotes
supplierContactRelationSupplier reference
company_nameContact.NameStringSupplier name
currencyCurrencyCodeRelationCurrency reference
document_numberInvoiceNumberStringInvoice number
referenceReferenceStringInvoice reference
date_issuedDateStringDateInvoice date (parsed)
date_dueDueDateStringDateDue date (parsed)
totalTotalDecimalTotal amount
subtotalSubTotalDecimalSubtotal amount
taxTotalTaxDecimalTax amount
tax_includedLineAmountTypesBooleanTrue if "Inclusive"
statusStatusStringConfigurable status mapping

Line Item Field Mappings

Zudello FieldXero FieldData TypeNotes
descriptionDescriptionStringLine description
quantityQuantityDecimalQuantity (defaults to 1 if not number)
unit_priceUnitAmountDecimalUnit price
totalLineAmountDecimalLine total
itemItemRelationItem reference
accountAccountCodeRelationAccount reference
tax_rateTaxTypeRelationTax rate reference

Processing Logic

Tracking Categories

The integration supports tracking categories for detailed financial analysis. The first tracking category in Xero is mapped to Location in Zudello, and the second is mapped to Subsidiary.

Date Formatting

Dates are parsed from Xero's format and converted to a standard YYYY-MM-DD format.

Status Mapping

The status of invoices in Zudello is determined by their status in Xero. This mapping is configurable, but by default, statuses like DRAFT, DELETED, VOIDED, AUTHORISED, PAID, and SUBMITTED are mapped to corresponding Zudello statuses.

Quantity Handling

If an invoice line item does not have a valid quantity, it defaults to 1 to ensure consistent processing.

Automatic Relationships

The integration automatically links invoices to the correct supplier, currency, item, account, tax rate, location, and subsidiary.

Incremental Synchronization

To save time, the integration only syncs invoices that are new or have been updated since the last check.

  • Contact - Supplier master data for invoice relationships
  • Account - Chart of accounts for line item coding
  • Tax Rate - Tax rate references for line items
  • Item - Item master data for line item references
  • Currency - Currency references for multi-currency invoices
  • Tracking Category - Location and subsidiary tracking setup
  • AP Invoice - Invoice creation workflow (Zudello → Xero)
  • Overview - Integration architecture overview