Preferences
Returns company data file preferences
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Company/Preferences |
Attribute Details
| Attribute | Type | Notes |
|---|---|---|
System | object | The following set of information pulls through system preferences for an AccountRight company file. |
System.CategoryTracking | String | Can consist of the following values: Off OnAndNotRequired OnAndRequired |
System.TransactionsCannotBeChangedMustBeReversed | Boolean | True indicates that transctions cannot be changed or deleted, they must be reversed. False indicates transctions can be either changed or deleted. |
System.LockPeriodPriorTo | DateTime | Lock period disabling entries prior to a given date, date format YYYY-MM-DD HH:MM:SS { 'Date': '2013-08-11 13:33:02' } |
System.UseAlphaAccountIdentifier | Boolean | True indicates that alpha-numeric Account number values are allowed. False indicates that alpha-numeric Account number values are not allowed. |
ReportsAndForms | object | The following set of information pulls through system preferences for reports and forms. |
ReportsAndForms.ReportTaxablePayments | Boolean | True indicates that report taxable payments made to contractors is turned on. False indicates that report taxable payments made to contractors is turned off. |
ReportsAndForms.EmailDefaults | object | The following set pulls through the default subject and message for emails. |
ReportsAndForms.EmailDefaults.Sales | object | The following sets pull through the subject and messages for Sales emails. |
ReportsAndForms.EmailDefaults.Sales.Invoice | object | The following set contains the subject and message for Invoice's that are emailed. |
ReportsAndForms.EmailDefaults.Sales.Invoice.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Sales.Invoice.Message | String | The message body of the email. |
ReportsAndForms.EmailDefaults.Sales.Invoice.IncludeNumberInSubject | Boolean | True indicates the Invoice number being included in the subject. False indicates the Invoice number not being included in the subject. |
ReportsAndForms.EmailDefaults.Sales.Order | object | The following set contains the subject and message for Order's that are emailed. |
ReportsAndForms.EmailDefaults.Sales.Order.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Sales.Order.Message | String | The message body of the email. |
ReportsAndForms.EmailDefaults.Sales.Order.IncludeNumberInSubject | Boolean | True indicates the Order number being included in the subject. False indicates the Order number not being included in the subject. |
ReportsAndForms.EmailDefaults.Sales.Quote | object | The following set contains the subject and message for Quote's that are emailed. |
ReportsAndForms.EmailDefaults.Sales.Quote.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Sales.Quote.Message | String | The message body of the email. |
ReportsAndForms.EmailDefaults.Sales.Quote.IncludeNumberInSubject | Boolean | True indicates the Quote number being included in the subject. False indicates the Quote number not being included in the subject. |
ReportsAndForms.EmailDefaults.Purchases | object | The following sets pull through the subject and messages for Purchases emails. |
ReportsAndForms.EmailDefaults.Purchases.Invoice | object | The following set contains the subject and message for Invoice's that are emailed. |
ReportsAndForms.EmailDefaults.Purchases.Invoice.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Purchases.Invoice.Message | String | The message body of the email. |
ReportsAndForms.EmailDefaults.Purchases.Invoice.IncludeNumberInSubject | Boolean | True indicates the Invoice number being included in the subject. False indicates the Invoice number not being included in the subject. |
ReportsAndForms.EmailDefaults.Purchases.Order | object | The following set contains the subject and message for Order's that are emailed. |
ReportsAndForms.EmailDefaults.Purchases.Order.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Purchases.Order.Message | String | The message body of the email. |
ReportsAndForms.EmailDefaults.Purchases.Order.IncludeNumberInSubject | Boolean | True indicates the Order number being included in the subject. False indicates the Order number not being included in the subject. |
ReportsAndForms.EmailDefaults.Purchases.Quote | object | The following set contains the subject and message for Quote's that are emailed. |
ReportsAndForms.EmailDefaults.Purchases.Quote.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Purchases.Quote.Message | String | The message body of the email. |
ReportsAndForms.EmailDefaults.Purchases.Quote.IncludeNumberInSubject | Boolean | True indicates the Quote number being included in the subject. False indicates the Quote number not being included in the subject. |
ReportsAndForms.EmailDefaults.Payslips | object | The following sets pull through the subject and messages for Payslips emails. |
ReportsAndForms.EmailDefaults.Payslips.Subject | String | The Subject line for the email. |
ReportsAndForms.EmailDefaults.Payslips.Message | String | The message body of the email. |
ReportsAndForms.CompanySendEmailProfile | object | The object that contains the email profile |
ReportsAndForms.CompanySendEmailProfile.OnlineEmailingEnabled | Boolean | Whether online emailing is turned on for this company |
ReportsAndForms.CompanySendEmailProfile.FromName | String | From Name to use for online emailing |
ReportsAndForms.CompanySendEmailProfile.ReplyToEmail | String | Reply To email address to use for online emailing |
ReportsAndForms.Banking | object | The following set of information pulls through system preferences for banking. |
ReportsAndForms.Banking.PreferToReceiveMoneyIntoUndepositedFunds | Boolean | True indicates the preference When I receive money, I prefer to Group with Other Undeposited funds is turned on. False indicates the preference When I receive money, I prefer to Group with Other Undeposited funds is turned off. |
ReportsAndForms.Sales | object | The following set of information pulls through system preferences for sales. |
ReportsAndForms.Sales.Terms | object | The following set of information pulls through default customer payment terms. |
ReportsAndForms.Sales.Terms.PaymentIsDue | String | Default Terms of Payment definitions: CashOnDelivery PrePaid InAGivenNumberOfDays OnADayOfTheMonth NumberOfDaysAfterEOM DayOfMonthAfterEOM |
ReportsAndForms.Sales.Terms.DiscountDate | Integer | The discount date which includes EOM (End of Month). |
ReportsAndForms.Sales.Terms.BalanceDueDate | Integer | The balance due date which includes EOM (End of Month). |
ReportsAndForms.Sales.Terms.DiscountForEarlyPayment | Double (99.99%) | % discount for early payment. |
ReportsAndForms.Sales.Terms.MonthlyChargeForLatePayment | Double (99.99%) | % monthly charge for late payment. |
ReportsAndForms.Sales.Terms.PriceLevel | String (3) | Default price level. |
ReportsAndForms.Sales.Terms.TaxCode | object | The following set of information pulls through details for the default TaxCodes |
ReportsAndForms.Sales.Terms.TaxCode.UID | GUID (36) | Foreign Key : Unique tax code identifier in the form of a guid |
ReportsAndForms.Sales.Terms.TaxCode.Code | String (3) | 3 digit code assigned to the tax code. |
ReportsAndForms.Sales.Terms.TaxCode.URI | String | Uniform resource identifier associated with the Tax code object |
ReportsAndForms.Sales.Terms.UseCustomerTaxCode | Boolean | True indicates to use the customer tax code. False indicates do not use the customer tax code. |
ReportsAndForms.Sales.Terms.FreightTaxCode | object | The following set of information pulls through the details for freight Tax Codes |
ReportsAndForms.Sales.Terms.FreightTaxCode.UID | GUID (36) | Foreign Key : Unique freight tax code identifier in the form of a guid |
ReportsAndForms.Sales.Terms.FreightTaxCode.Code | String (3) | 3 digit code assigned to the freight tax code. |
ReportsAndForms.Sales.Terms.FreightTaxCode.URI | String | Uniform resource identifier associated with the freight tax code object. |
ReportsAndForms.Sales.Terms.CreditLimit | Decimal (13.6) | Default customer contact credit limit. |
ReportsAndForms.Purchases | object | The following set of information pulls through system preferences for purchases. |
ReportsAndForms.Purchases.Terms | object | The following set of information pulls through default supplier terms. |
ReportsAndForms.Purchases.Terms.PaymentIsDue | String | Default Terms of Payment definitions: CashOnDelivery PrePaid InAGivenNumberOfDays OnADayOfTheMonth NumberOfDaysAfterEOM DayOfMonthAfterEOM |
ReportsAndForms.Purchases.Terms.DiscountDate | Integer | Number of early payment discount days. |
ReportsAndForms.Purchases.Terms.BalanceDueDate | Integer | Number of days until due. |
ReportsAndForms.Purchases.Terms.DiscountForEarlyPayment | Double (99.99%) | % discount for early payment. |
ReportsAndForms.Purchases.Terms.TaxCode | object | The following set of information pulls through details for the default TaxCode |
ReportsAndForms.Purchases.Terms.TaxCode.UID | GUID (36) | Foreign Key : Unique tax code identifier in the form of a guid |
ReportsAndForms.Purchases.Terms.TaxCode.Code | String (3) | 3 digit code assigned to the tax code. |
ReportsAndForms.Purchases.Terms.TaxCode.URI | String | Uniform resource identifier associated with the Tax code object |
ReportsAndForms.Purchases.Terms.UseSupplierTaxCode | Boolean | True indicates to use the supplier tax code. False indicates not to use the supplier tax code. |
ReportsAndForms.Purchases.Terms.FreightTaxCode | object | The following set of information pulls through the details for default freight Tax Codes |
ReportsAndForms.Purchases.Terms.FreightTaxCode.UID | GUID (36) | Foreign Key : Unique freight tax code identifier in the form of a guid |
ReportsAndForms.Purchases.Terms.FreightTaxCode.Code | String (3) | 3 digit code assigned to the freight tax code. |
ReportsAndForms.Purchases.Terms.FreightTaxCode.URI | String | Uniform resource identifier associated with the freight tax code object. |
ReportsAndForms.Purchases.Terms.CreditLimit | Decimal (13.6) | Default customer contact credit limit. |
ReportsAndForms.Timesheets | object | The following set of information pulls through details for Timesheets ONLY AVAILABLE FOR ACCOUNTRIGHT PLUS, PREMIER Null if preference is not turned on |
ReportsAndForms.Timesheets.UseTimesheetsFor | String | Can consist of either TimeBillingAndPayroll or Payroll . |
ReportsAndForms.Timesheets.WeekStartsOn | String | Day the week starts on ie: Monday, Tuesday, Wednesday. |
ReportsAndForms.RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. |
Example json GET response
Example
{
"CategoryTracking": "Off",
"TransactionsCannotBeChangedMustBeReversed": "false",
"LockPeriodPriorTo": "2013-07-01T00:00:00",
"UseAlphaAccountIdentifier": "false",
"PreferToReceiveMoneyIntoUndepositedFunds": "false",
"PaymentIsDue": "DayOfMonthAfterEOM",
"DiscountDate": "1",
"BalanceDueDate": "30",
"DiscountForEarlyPayment": "0",
"MonthlyChargeForLatePayment": "0",
"PriceLevel": "LevelA",
"UID": "38a37ae8-565c-46f8-ad4a-2a87069607f8",
"Code": "GST",
"URI": "{cf_uri}/GeneralLedger/TaxCode/38a37ae8-565c-46f8-ad4a-2a87069607f8",
"UseCustomerTaxCode": "false",
"CreditLimit": "0",
"UseSupplierTaxCode": "false",
"UseTimesheetsFor": "Payroll",
"WeekStartsOn": "Monday",
"RowVersion": "-3991596644733812736"
}The {cf_uri} is provided by the businessId parameter as described here.