Payment Terms
Overview
The NetSuite Payment Terms integration synchronizes payment term configurations from NetSuite to Zudello, ensuring consistent payment scheduling and accurate cash flow management across systems.
Integration Details:
- Direction: NetSuite → Zudello (📥 Inbound)
- Sync Type: Incremental
- Sync Frequency: Every 12 hours
- API Used: SuiteQL
Key Benefits
- Consistent payment term definitions
- Automated payment due date calculations
- Supports complex payment schedules
- Enables accurate cash flow forecasting
Field Mappings
NetSuite Field | Zudello Field | Description | Data Type |
---|---|---|---|
name | TermsName | Payment terms identifier | String |
daysuntilnetdue | NetDays | Net payment days | Integer |
discountdays | DiscountDays | Early payment discount days | Integer |
discountpercent | DiscountPercent | Early payment discount percentage | Decimal |
isinactive | Status | true = INACTIVE, false = ACTIVE | String |
dateDriven | DateDriven | Date-driven calculation flag | Boolean |
duenextmonthifwithindays | NextMonthThreshold | Next month due threshold | Integer |
discountdayofmonth | DiscountDayOfMonth | Specific discount day | Integer |
duedayofmonth | DueDayOfMonth | Specific due day | Integer |
gratuitous | NoCharge | No charge indicator | Boolean |
installment | Installment | Installment payment flag | Boolean |
API Configuration
SuiteQL Query Structure
The integration queries payment terms with comprehensive calculation rules for accurate payment scheduling and discount management.
Authentication
- Method: Token-based Authentication (TBA)
- Required Permissions:
- Terms (View)
- Lists → Accounting (View)
- Payment Terms (View)
Sync Configuration
Incremental Sync Logic
The integration tracks payment term changes:
- Initial sync retrieves all payment term configurations
- Subsequent syncs fetch terms where
lastmodifieddate
> last sync timestamp - Calculation rules updated with term modifications
- Historical terms preserved for existing transactions
Data Transformation
- Status Conversion: NetSuite boolean
isinactive
(T/F) → Zudello string status (INACTIVE/ACTIVE) - Calculation Rules: Preserves complex payment calculation logic
- Discount Validation: Ensures discount percentages are within valid ranges
Processing Logic
- Terms Retrieval: Query modified payment terms
- Calculation Validation: Verify payment calculation rules
- Discount Processing: Handle early payment discount rules
- Date Logic: Process date-driven calculation options
- Status Management: Update active/inactive term flags
- Rule Consistency: Ensure calculation rule integrity
Troubleshooting
Issue | Possible Cause | Solution |
---|---|---|
Missing payment terms | Permission restrictions | Verify Terms view permissions |
Calculation errors | Complex rule conflicts | Review calculation logic |
Discount mismatches | Percentage validation | Check discount range limits |
Date calculation issues | Timezone differences | Verify date handling |
Performance slowdown | Large terms dataset | Optimize query conditions |