Sync:
We sync the following data models (through Rootfi and logical backend, same as other integrations): **Netsuite Payment Vouchers: (**INVOICES, INVOICE_CREDIT_NOTES, CASH_REFUNDS, CASH_SALES) We follow the following hierarchy:- Invoice-level SHIPPING (extracted from Rootfi webhook payload)
- customer-level default shipping (retrieved via Rootfi passthrough)
- invoice-level BILLING (extracted from Rootfi webhook payload)
- customer-level default billing (retrieved from Rootfi passthrough)
- If the shipping address is set, we set the contact shipping address to the webhook payload shipping address.
- If the billing address is set, we set the contact billing address to the webhook payload billing address
- If the billing address is set but the shipping address is not set, we set the contact shipping address to the webhook payload *billing *address