Skip to main content
Version: Current

AP Credit Note

Overview

Direction: Zudello → Xero
Sync Type: Real-time
Purpose: Purchase credit note creation with comprehensive structure matching AP invoices

AP credit notes flow from Zudello to Xero with the same comprehensive structure as AP invoices but for credit processing.

Header Field Mappings

Xero FieldZudello FieldData TypeNotes
TypeN/AStringAlways "ACCPAYCREDIT"
ContactsupplierRelationSupplier reference
Datedate_issuedDateCredit note date
LineAmountTypestax_includedString"Inclusive" or "Exclusive"
CreditNoteNumberdocument_numberStringCredit note number
ReferencereferenceStringCredit note reference
CurrencyCodecurrencyRelationCurrency code
StatusN/AStringAlways "SUBMITTED"
SentToContactN/ABooleanAlways false

Line Item Field Mappings

Xero FieldZudello FieldData TypeNotes
ItemCodeitemRelationItem SKU
DescriptiondescriptionStringLine description
QuantityquantityDecimalLine quantity
UnitAmountunit_priceDecimalUnit price
AccountCodeaccountRelationAccount code
TaxTypetax_rateRelationTax type

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.

Status Management

Credit notes are always created in Xero with a SUBMITTED status, making them ready for immediate processing.

Key Differences from AP Invoices

  • Type: Credit notes are created with the ACCPAYCREDIT type.
  • Status: The status is always SUBMITTED, unlike the configurable status for AP invoices.
  • No Attachments: File attachments are not included with credit notes.
  • Unit Price: The unit_price is used directly, not calculated from the total and quantity.
  • AP Invoice - Invoice processing with similar structure
  • Contact - Supplier master data for credit note 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 credits
  • Tracking Category - Location and subsidiary tracking setup
  • Credit Note - Historical credit note data (Xero → Zudello)
  • Overview - Integration architecture overview