Skip to main content
Version: Current

BP Supplier Invoice

Overview

📤 Direction: Zudello → Sage X3
🔄 Sync Type: Real-time
⏱️ Frequency: Transaction-based

Business Partner Supplier Invoices flow from Zudello to Sage X3 using GraphQL mutations with comprehensive analytical dimensions and cost center allocations.

Key Benefits

Business Partner Model - Uses Sage X3's advanced business partner supplier invoice structure
Analytical Dimensions - Full support for cost center and analytical tracking
Chart of Accounts Integration - Leverages account group relationships for GL posting
Australian Configuration - Uses "AUINV" invoice type and "AUDOM" tax rule

Field Mappings

Header Fields

Sage X3 FieldZudello FieldData TypeNotes
companysubsidiaryRelationCompany reference
sitelocationRelationSite reference
invoiceTypeN/AStringAlways "AUINV"
categoryN/AStringAlways "invoice"
accountingDatedate_issuedDateInvoice date (YYYY-MM-DD)
rateDatedate_issuedDateSame as accounting date
billBySuppliersupplierRelationSupplier reference
currencycurrencyRelationCurrency reference
sourceDocumentdocument_numberStringInvoice document number
sourceDocumentDatedate_issuedDateSource document date
payToBusinessPartnersupplierRelationSame as billBySupplier
dueDateCalculationStartDatedate_dueDateDue date
paymentTermExtracted from supplierStringPayment term code
taxRuleN/AStringAlways "AUDOM"

Line Item Fields

Sage X3 FieldZudello FieldData TypeNotes
lineNumberline_numberIntegerLine sequence number
sitelocationRelationLocation reference
ledgersCoa[0].chartOfAccountaccount.account_groupRelationChart of account reference
ledgersCoa[0].accountaccountRelationAccount reference
lineAmountExcludingTaxtotal_exclusiveDecimalLine amount excluding tax
taxCodetax_rateRelationTax code reference
quantityquantityDecimalLine quantity

Configuration Requirements

Australian Configuration

This integration uses fixed Australian configuration values:

  • Invoice Type: Always "AUINV"
  • Tax Rule: Always "AUDOM"
  • Date Format: Consistent YYYY-MM-DD formatting

Processing Logic

Analytical Dimensions

The integration supports comprehensive analytical tracking:

  • Cost Center Support: Full support for cost center and analytical tracking
  • Dimensional Analytics: Includes amount, quantity, and dimension information
  • Denormalized Index: Uses index 1 for dimension organization

Cost Centre Processing

Cost centres are processed using a combination of their name and code:

  • ID Format: "costCentreName|costCentreCode"
  • Extraction Logic: Splits the ID to get name and code components
  • Analytical Integration: Maps to Sage X3 analytical dimensions

Payment Term Extraction

Payment terms are extracted from supplier relationships:

  • ID Format: Uses the first part of a pipe-delimited ID (|)
  • Supplier Relationship: Extracted from the supplier's payment term
  • Code Assignment: Uses extracted code for payment term assignment

Chart of Accounts Integration

The integration leverages account group relationships:

  • Account Group Reference: Uses the account's group for the chart of account
  • Account Reference: Uses the account reference for the specific account
  • GL Posting: Enables proper general ledger posting in Sage X3

Date Formatting

All dates use consistent YYYY-MM-DD formatting:

  • Accounting Date: Uses date_issued from Zudello
  • Rate Date: Same as accounting date
  • Source Document Date: Uses date_issued
  • Due Date Calculation: Uses date_due from Zudello

Troubleshooting

IssueCauseSolution
Invoice creation failsMissing supplier referenceVerify supplier exists in Sage X3
Account posting errorsInvalid account referencesCheck account and account group setup
Cost centre allocation failsInvalid cost centre IDVerify cost centre format and existence
Payment term errorsMissing payment term codeCheck supplier payment term configuration
  • Supplier - Vendor setup and payment terms
  • Account - Account and account group configuration
  • Cost Centre - Cost center analytical dimensions
  • Tax Code - Tax rate assignments
  • Site - Location assignments
  • Company - Company and subsidiary references