Skip to content

Preferences

Returns company data file preferences

Released
Updated
URLSupports
/{cf_uri}/Company/Preferences
GET

Attribute Details

AttributeTypeNotes
SystemobjectThe following set of information pulls through system preferences for an AccountRight company file.
System.CategoryTrackingStringCan consist of the following values: Off OnAndNotRequired OnAndRequired
System.TransactionsCannotBeChangedMustBeReversedBooleanTrue indicates that transctions cannot be changed or deleted, they must be reversed. False indicates transctions can be either changed or deleted.
System.LockPeriodPriorToDateTimeLock 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
Read-only
BooleanTrue indicates that alpha-numeric Account number values are allowed. False indicates that alpha-numeric Account number values are not allowed.
ReportsAndFormsobjectThe following set of information pulls through system preferences for reports and forms.
ReportsAndForms.ReportTaxablePaymentsBooleanTrue indicates that report taxable payments made to contractors is turned on. False indicates that report taxable payments made to contractors is turned off.
ReportsAndForms.EmailDefaultsobjectThe following set pulls through the default subject and message for emails.
ReportsAndForms.EmailDefaults.SalesobjectThe following sets pull through the subject and messages for Sales emails.
ReportsAndForms.EmailDefaults.Sales.InvoiceobjectThe following set contains the subject and message for Invoice's that are emailed.
ReportsAndForms.EmailDefaults.Sales.Invoice.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Sales.Invoice.MessageStringThe message body of the email.
ReportsAndForms.EmailDefaults.Sales.Invoice.IncludeNumberInSubjectBooleanTrue indicates the Invoice number being included in the subject. False indicates the Invoice number not being included in the subject.
ReportsAndForms.EmailDefaults.Sales.OrderobjectThe following set contains the subject and message for Order's that are emailed.
ReportsAndForms.EmailDefaults.Sales.Order.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Sales.Order.MessageStringThe message body of the email.
ReportsAndForms.EmailDefaults.Sales.Order.IncludeNumberInSubjectBooleanTrue indicates the Order number being included in the subject. False indicates the Order number not being included in the subject.
ReportsAndForms.EmailDefaults.Sales.QuoteobjectThe following set contains the subject and message for Quote's that are emailed.
ReportsAndForms.EmailDefaults.Sales.Quote.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Sales.Quote.MessageStringThe message body of the email.
ReportsAndForms.EmailDefaults.Sales.Quote.IncludeNumberInSubjectBooleanTrue indicates the Quote number being included in the subject. False indicates the Quote number not being included in the subject.
ReportsAndForms.EmailDefaults.PurchasesobjectThe following sets pull through the subject and messages for Purchases emails.
ReportsAndForms.EmailDefaults.Purchases.InvoiceobjectThe following set contains the subject and message for Invoice's that are emailed.
ReportsAndForms.EmailDefaults.Purchases.Invoice.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Purchases.Invoice.MessageStringThe message body of the email.
ReportsAndForms.EmailDefaults.Purchases.Invoice.IncludeNumberInSubjectBooleanTrue indicates the Invoice number being included in the subject. False indicates the Invoice number not being included in the subject.
ReportsAndForms.EmailDefaults.Purchases.OrderobjectThe following set contains the subject and message for Order's that are emailed.
ReportsAndForms.EmailDefaults.Purchases.Order.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Purchases.Order.MessageStringThe message body of the email.
ReportsAndForms.EmailDefaults.Purchases.Order.IncludeNumberInSubjectBooleanTrue indicates the Order number being included in the subject. False indicates the Order number not being included in the subject.
ReportsAndForms.EmailDefaults.Purchases.QuoteobjectThe following set contains the subject and message for Quote's that are emailed.
ReportsAndForms.EmailDefaults.Purchases.Quote.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Purchases.Quote.MessageStringThe message body of the email.
ReportsAndForms.EmailDefaults.Purchases.Quote.IncludeNumberInSubjectBooleanTrue indicates the Quote number being included in the subject. False indicates the Quote number not being included in the subject.
ReportsAndForms.EmailDefaults.PayslipsobjectThe following sets pull through the subject and messages for Payslips emails.
ReportsAndForms.EmailDefaults.Payslips.SubjectStringThe Subject line for the email.
ReportsAndForms.EmailDefaults.Payslips.MessageStringThe message body of the email.
ReportsAndForms.CompanySendEmailProfileobjectThe object that contains the email profile
ReportsAndForms.CompanySendEmailProfile.OnlineEmailingEnabledBooleanWhether online emailing is turned on for this company
ReportsAndForms.CompanySendEmailProfile.FromNameStringFrom Name to use for online emailing
ReportsAndForms.CompanySendEmailProfile.ReplyToEmailStringReply To email address to use for online emailing
ReportsAndForms.BankingobjectThe following set of information pulls through system preferences for banking.
ReportsAndForms.Banking.PreferToReceiveMoneyIntoUndepositedFundsBooleanTrue 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.SalesobjectThe following set of information pulls through system preferences for sales.
ReportsAndForms.Sales.TermsobjectThe following set of information pulls through default customer payment terms.
ReportsAndForms.Sales.Terms.PaymentIsDueStringDefault Terms of Payment definitions: CashOnDelivery PrePaid InAGivenNumberOfDays OnADayOfTheMonth NumberOfDaysAfterEOM DayOfMonthAfterEOM
ReportsAndForms.Sales.Terms.DiscountDateIntegerThe discount date which includes EOM (End of Month).
ReportsAndForms.Sales.Terms.BalanceDueDateIntegerThe balance due date which includes EOM (End of Month).
ReportsAndForms.Sales.Terms.DiscountForEarlyPaymentDouble (99.99%)% discount for early payment.
ReportsAndForms.Sales.Terms.MonthlyChargeForLatePaymentDouble (99.99%)% monthly charge for late payment.
ReportsAndForms.Sales.Terms.PriceLevelString (3)Default price level.
ReportsAndForms.Sales.Terms.TaxCodeobjectThe following set of information pulls through details for the default TaxCodes
ReportsAndForms.Sales.Terms.TaxCode.UIDGUID (36)Foreign Key : Unique tax code identifier in the form of a guid
ReportsAndForms.Sales.Terms.TaxCode.CodeString (3)3 digit code assigned to the tax code.
ReportsAndForms.Sales.Terms.TaxCode.URIStringUniform resource identifier associated with the Tax code object
ReportsAndForms.Sales.Terms.UseCustomerTaxCodeBooleanTrue indicates to use the customer tax code. False indicates do not use the customer tax code.
ReportsAndForms.Sales.Terms.FreightTaxCodeobjectThe following set of information pulls through the details for freight Tax Codes
ReportsAndForms.Sales.Terms.FreightTaxCode.UIDGUID (36)Foreign Key : Unique freight tax code identifier in the form of a guid
ReportsAndForms.Sales.Terms.FreightTaxCode.CodeString (3)3 digit code assigned to the freight tax code.
ReportsAndForms.Sales.Terms.FreightTaxCode.URIStringUniform resource identifier associated with the freight tax code object.
ReportsAndForms.Sales.Terms.CreditLimitDecimal (13.6)Default customer contact credit limit.
ReportsAndForms.PurchasesobjectThe following set of information pulls through system preferences for purchases.
ReportsAndForms.Purchases.TermsobjectThe following set of information pulls through default supplier terms.
ReportsAndForms.Purchases.Terms.PaymentIsDueStringDefault Terms of Payment definitions: CashOnDelivery PrePaid InAGivenNumberOfDays OnADayOfTheMonth NumberOfDaysAfterEOM DayOfMonthAfterEOM
ReportsAndForms.Purchases.Terms.DiscountDateIntegerNumber of early payment discount days.
ReportsAndForms.Purchases.Terms.BalanceDueDateIntegerNumber of days until due.
ReportsAndForms.Purchases.Terms.DiscountForEarlyPaymentDouble (99.99%)% discount for early payment.
ReportsAndForms.Purchases.Terms.TaxCodeobjectThe following set of information pulls through details for the default TaxCode
ReportsAndForms.Purchases.Terms.TaxCode.UIDGUID (36)Foreign Key : Unique tax code identifier in the form of a guid
ReportsAndForms.Purchases.Terms.TaxCode.CodeString (3)3 digit code assigned to the tax code.
ReportsAndForms.Purchases.Terms.TaxCode.URIStringUniform resource identifier associated with the Tax code object
ReportsAndForms.Purchases.Terms.UseSupplierTaxCodeBooleanTrue indicates to use the supplier tax code. False indicates not to use the supplier tax code.
ReportsAndForms.Purchases.Terms.FreightTaxCodeobjectThe following set of information pulls through the details for default freight Tax Codes
ReportsAndForms.Purchases.Terms.FreightTaxCode.UIDGUID (36)Foreign Key : Unique freight tax code identifier in the form of a guid
ReportsAndForms.Purchases.Terms.FreightTaxCode.CodeString (3)3 digit code assigned to the freight tax code.
ReportsAndForms.Purchases.Terms.FreightTaxCode.URIStringUniform resource identifier associated with the freight tax code object.
ReportsAndForms.Purchases.Terms.CreditLimitDecimal (13.6)Default customer contact credit limit.
ReportsAndForms.TimesheetsobjectThe following set of information pulls through details for Timesheets ONLY AVAILABLE FOR ACCOUNTRIGHT PLUS, PREMIER Null if preference is not turned on
ReportsAndForms.Timesheets.UseTimesheetsForStringCan consist of either TimeBillingAndPayroll or Payroll .
ReportsAndForms.Timesheets.WeekStartsOnStringDay the week starts on ie: Monday, Tuesday, Wednesday.
ReportsAndForms.RowVersionStringNumber 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

json
{
  "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.