Skip to main content
Version: Current

AP Invoice

Overview

Direction: Zudello → Xero
Sync Type: Real-time
Purpose: Purchase invoice creation with comprehensive line item detail, tracking category support, and automatic file attachment

AP invoices flow from Zudello to Xero with comprehensive line item detail, tracking category support, and automatic file attachment capabilities.

Header Field Mappings

Xero FieldZudello FieldData TypeNotes
TypeN/AStringAlways "ACCPAY"
ContactsupplierRelationSupplier reference
Datedate_issuedDateInvoice date
DueDatedate_dueDateDue date
LineAmountTypestax_includedString"Inclusive" or "Exclusive"
InvoiceNumberdocument_numberStringInvoice number
ReferencereferenceStringInvoice reference
CurrencyCodecurrencyRelationCurrency code
StatusMetadata configurationStringConfigurable posting status
PlannedPaymentDatedate_dueDatePlanned payment date

Line Item Field Mappings

Xero FieldZudello FieldData TypeNotes
DescriptiondescriptionStringLine description
QuantityquantityDecimalLine quantity
UnitAmounttotal / quantityDecimalCalculated unit amount
ItemCodeitemRelationItem SKU (optional)
AccountCodeaccountRelationAccount code
TaxTypetax_rateRelationTax type
LineAmounttotalDecimalLine total amount

Processing Logic

Unit Amount Calculation

To ensure accuracy, the UnitAmount is calculated by dividing the total by the quantity for each line item.

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.

File Attachments

The original invoice file from Zudello is automatically attached to the corresponding invoice in Xero. If the attachment fails, the invoice creation will still proceed.

Configurable Status

The status of the created invoice in Xero can be configured. By default, invoices are created as DRAFT, but this can be changed to other statuses like SUBMITTED or AUTHORISED to fit your workflow.

  • 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
  • Supplier - Supplier creation workflow
  • Invoice - Historical invoice data (Xero → Zudello)
  • Overview - Integration architecture overview