Skip to main content
Version: Current

Payment Term

Overview

📥 Direction: Sage X3 → Zudello
🔄 Sync Type: Incremental sync
⏱️ Frequency: Based on _updateStamp

Payment term data flows from Sage X3 to Zudello with intelligent type detection and unit extraction to support flexible payment configurations.

Key Benefits

Intelligent Processing - Automatically determine payment term types from descriptions
Unit Extraction - Extract numeric values from payment term codes
Flexible Types - Support multiple payment term types (days after date, end of month, etc.)
Australian Focus - Filtered for Australian legislation

Field Mappings

Zudello FieldSage X3 FieldData TypeNotes
codecodeStringPayment term code
namelocalizedDescription or localizedShortDescription or codeStringFallback hierarchy
typeCalculated from descriptionStringIntelligent type detection
unitExtracted from codeStringNumeric value extraction
statusN/AStringAlways "ACTIVE"

Configuration Requirements

Australian Legislation

This integration filters for Australian legislation only. Payment terms must be configured with 'AUS' legislation in Sage X3.

Processing Logic

Sync Behavior

  • Intelligent Type Detection: Automatically determines payment term types from descriptions
  • Unit Extraction: Extracts numeric values from payment term codes using pattern matching
  • Keyword Analysis: Uses keyword matching for type determination

Type Detection Logic

The system automatically determines payment term types based on description keywords:

DAYS_AFTER_MONTH

  • Keywords: "end of month", "eom"

OF_CURRENT_MONTH

  • Keywords: "current month", "of month", "this month"

OF_FOLLOWING_MONTH

  • Keywords: "following month", "next month", "subsequent month"

DAYS_AFTER_DATE (Default)

  • Keywords: "net", "invoice date", "from invoice", "after invoice", "days net"
  • Also used as fallback when no keywords match

Unit Extraction Logic

The system extracts numeric values from payment term codes:

  • Pattern Matching: Uses regex to find first number in code
  • Default Value: Returns "1" if no number found
  • First Match: Returns first numeric value found in code

Payment Term Types

The integration supports various payment term configurations:

  • Days After Date: Standard net payment terms
  • End of Month: Payments due at month end
  • Current Month: Payments due within current month
  • Following Month: Payments due in subsequent month

Troubleshooting

IssueCauseSolution
Payment term not syncingLegislation not set to 'AUS'Verify legislation configuration in Sage X3
Incorrect type detectionAmbiguous descriptionReview description keywords in Sage X3
Unit extraction failureNo numeric values in codeInclude numeric values in payment term codes
Type defaults to DAYS_AFTER_DATEKeywords not recognizedCheck description against keyword list