Difference between revisions of "MYOB Endpoint: Accounts"

no edit summary
Line 8: Line 8:


;UID
;UID
:Provides the internal id of an account in the form of a GUID. This field can be used to link to other data.
:A [[Field Type: GUID|GUID]] representing the internal id of an account. This field can be used to link to other endpoints.


;Name
;Name
:Represents the account name of an account.
:A [[Field Type: Text|text field]] used as the account name.


;DisplayID
;DisplayID
:Represents the account number of an account.
:A [[Field Type: Text|text field]] used as the account number.


;Classification
;Classification
:Identifies the high-level type of account. Possible values are: Asset, Liability, Equity, Income, CostOfSales, Expense, OtherIncome, OtherExpense.
:A [[Field Type: Text|text field]] that identifies the high-level type of account. Possible values are: Asset, Liability, Equity, Income, CostOfSales, Expense, OtherIncome, OtherExpense.


;Type
;Type
:Identifies the more detailed type of an account. Possible values are:
:A [[Field Type: Text|text field]] that identifies the more detailed type of an account. Possible values are:


;Number
;Number
:Represents the last digits of an account number that follows the dash.  For example, 4-1234 will have a number of 1234.
:A [[Field Type: Integers|integer field]] that represents the last digits of an account number that follows the dash.  For example, 4-1234 will have a number of 1234.


;Description
;Description
:Represents the more detailed description of an account.
:A [[Field Type: Text|text field]] used as the account description.


;ParentAccount
;ParentAccount
:Returns an object that identifies the parent of this account.
:A [[Field Type: Record|record field]] that identifies the parent of this account.


;IsActive
;IsActive
:Is a true/false value indicating if the account is active and useable within MYOB.
:A [[Field Type: Boolean|true/false value]] that indicates if the account is active and useable within MYOB.


;TaxCode
;TaxCode
:Returns an object that identifies the default tax code for this account.
:A [[Field Type: Record|record field]] that identifies the default tax code for this account.


;Level
;Level
:Is a value between 1 to 4 that represents the indentation level of the account within the MYOB chart of accounts.
:A [[Field Type: Integers|integer field]] that represents the indentation level of the account within the MYOB chart of accounts. Possible values are between 1 and 4.


;OpeningBalance
;OpeningBalance
:Represents the original opening balance value for this account when first created.
:A [[Field Type: Decimal|decimal field]] that represents the original opening balance value for this account when first created.


;CurrentBalance
;CurrentBalance
:Represents the closing balance value for this account as at the end-of-time.
:A [[Field Type: Decimal|decimal field]] that represents the closing balance value for this account as at the end-of-time.


;BankingDetails
;BankingDetails
:Returns an object containing banking details of the account (for Bank Accounts only).
:A [[Field Type: Record|record field]] containing banking details of the account (for Bank Accounts only).


;IsHeader
;IsHeader
:Is a true/false value indicating if the account is a header or detail account.
:A [[Field Type: Boolean|true/false value]] that indicates if the account is a header or detail account.


;LastReconciledDate
;LastReconciledDate
:Stores a date of the last time this account and all transactions attached were reconciled.
:A [[Field Type: Date|date field]] that stores a date of the last time this account and all transactions attached were reconciled.


;ForeignCurrency
;ForeignCurrency
:Returns an object identying the foreign currency account used when posting transactions to this account.
:A [[Field Type: Record|record field]] that identifies the foreign currency account used when posting transactions to this account.


;RowVersion
;RowVersion
:Returns the [[MYOB Field: RowVersion|row version]].
:Returns the [[MYOB Field: RowVersion|row version]].
3,301

edits