v1
latestOpenAPI 3.0.12026-07-267912192.3 MBExecutes the Add action for the Customers data object.
Adds a new customer record.
Path parameters
The code of the subscriber that you are making this request for.
Headers
Used to authorize access to the Direct API.
Request body
AR Company.
Optional, if omitted This value will be calculated based on Vista defaulting logic with trailing digits incase of non unique results.
Temporary Customer. Optional. If not provided, N will be defaulted.
Options: A-Active, I-Inactive, H-OnHold. Optional. If Omitted, A-Active will be defaulted.
Key to ar/receivable_types(ARCo, RecType). Receivable Type as found in AR Receivable Types program. Optional. If omitted, ar/company_parameters.RecType will be defaulted.
Key to hq/payment_terms(PayTerms). Optional. If omitted, null will be defaulted.
Key to hq/tax_codes(TaxGroup, TaxCode) TaxGroup based on the Provided ARCo. Optional. If omitted, null will be defaulted.
Key to ar/distribution_codes(CustGroup, MiscDistCode). CustGroup as configured in hq/company_parameters. Optional. If omitted, null will be defaulted.
Format: YYYY-MM-DD. Optional. If omitted, today will be defaulted.
Optional. If omitted, 0 will be defaulted.
Set to Y to retain Customer Transaction detail during purge operations. Optional. If omitted, N will be defaulted.
Optional. If omitted, Y will be defaulted.
Options: O-Open Item, B-Balance Forward. Optional. If not provided, O-Open Item will be defaulted.
Options: A-Account, I-Invoice, R-RecType, N-No Finance Charges. I-Invoice is only allowed for StmtType = O-Open. Optional. If omitted, N-No Finance Charges will be defaulted.
Finance Charge percent. 0.90 = 90%. 1.0 max value. Optional. If omitted, will be defaulted based on Vista defaulting logic.
Exclude Contract Invoices from Finance Charge. Optional. If omitted, N will be defaulted.
0.90 = 90%. 1.0 max value. Optional. If omitted, 0 will be defaulted.
Miscellaneous Distributions on Invoice. Optional. If omitted, N will be defaulted.
Miscellaneous Distributions on Payment. Optional. If omitted, N will be defaulted.
[PROTECTED FIELD] Australian Business Number. Should be omitted unless the hq/company_parameters.DefaultCountry = AU. Optional. If omitted null will be defaulted.
[PROTECTED FIELD] Australian Corporate Number. Should be omitted unless the hq/company_parameters.DefaultCountry = AU Optional. If omitted null will be defaulted.
Add properties to this object for any custom fields you want to set as this record is added to Vista.
Response
Success