GeneralJournal
Return, update, create and delete general journal transactions
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/GeneralLedger/GeneralJournal |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
Response
{
"ForeignCurrency": null,
"Uri": "{cf_uri}/GeneralJournal/GJ000001/d24ce081-bab2-4477-8548-aa88803a4f89",
"CurrencyExchangeRate": null,
"RowVersion": 3860992255540068400
}| Attribute | Type | Notes |
|---|---|---|
UID | GUID (36) | Unique guid identifier created for a general journal transaction. ONLY required for updating an existing general journal entry NOT required when creating a new general journal entry. |
DisplayID | String (13) | General journal number, if left null when posting, a number will automatically be assigned and incremented based upon last recorded |
DateOccurred | DateTime | Transaction date entry, format YYYY-MM-DD HH:MM:SS { 'DateOccured': '2013-03-04 13:33:02' } |
IsTaxInclusive | Boolean | True indicates the transaction default status is set to tax inclusive False indicates the transaction status is not tax inclusive |
Memo | String (255) | Header memo of the general journal entry |
GSTReportingMethod | Reporting Method used on the general journal transaction which accepts the following: Sale (Supply) Purchase (Acquisition) { 'GSTReportingMethod': 'Purchase' } | |
IsYearEndAdjustment | Boolean | True indicates the transaction is a YearEndAdjustment False indicates the transaction is not a YearEndAdjustment |
Category | object | The following outlines the category information for this general journal item. |
Category.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the category assigned to the general journal entry |
Category.Name | String (30) | Name of the category |
Category.DisplayID | String (13) | Display id for the category |
Category.URI | String | Uniform resource identifier associated with the category object |
Lines | array | An array of line item information |
Lines.RowID | Integer | Sequence of the entry within the general journal set. REQUIRED only when passing the RowVersion for updating an existing general journal line. |
Lines.Account | object | The following set of information pulls through the details for the accounts |
Lines.Account.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the account for this line of the general journal entry |
Lines.Account.Name | String (60) | Account name belonging to the account record |
Lines.Account.DisplayID | String (6) | Account code format includes separator ie 1-1100 { 'DisplayID': '1-1100' } |
Lines.Account.URI | String | Uniform resource identifier associated with the account object |
Lines.Job | object | The following set of information pulls through the details for the jobs |
Lines.Job.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the job for this line of the general journal entry |
Lines.Job.Number | String (30) | Number assigned to the job |
Lines.Job.Name | String (30) | Name assigned to the job |
Lines.Job.URI | String | Uniform resource identifier associated with the job object |
Lines.Memo | String (1000) | Memo text applied to the line of the transaction |
Lines.TaxCode | object | The following set of information pulls through the details for the TaxCodes |
Lines.TaxCode.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the tax code for this line of the general journal entry |
Lines.TaxCode.Code | String (3) | 3 digit Code belonging to the tax code for this line of the general journal entry |
Lines.TaxCode.URI | String | Uniform resource identifier associated with the TaxCode object |
Lines.Amount | Decimal (13.6) | Dollar amount posted to the line of the transaction. Note: if posting with tax, the amount is always tax exclusive. |
Lines.AmountForeign | Decimal (13.6) | Mandatory if a ForeignCurrency is supplied for POST. Dollar amount posted to the line of the transaction in foreign currency. Note: If posting with foreign tax, the amount is always tax exclusive. |
Lines.IsCredit | Boolean | True indicates the amount posted to the account as a credit. False indicates the amount posted to the account as a debit. |
Lines.TaxAmount | Decimal (13.6) | Tax amount for the line of the journal if using an applicable TaxCode. |
Lines.TaxAmountForeign | Decimal (13.6) | Foreign currency tax amount for the line of the journal if using an applicable TaxCod. |
Lines.IsOverriddenTaxAmount | Boolean, | True indicates the tax amount has been altered False indicates the tax amount has not been altered |
Lines.UnitCount | Decimal (19.6) | Quantity value of the general journal entry |
Lines.RowVersion | String | ONLY required on PUT for updating an existing general journal line. NOT required when creating a new general journal. |
ForeignCurrency | object | Foreign currency information in the transaction. |
ForeignCurrency.UID | Guid (36) | Foreign Key : Unique identifier for the currency in the form of a guid. |
ForeignCurrency.Code | String (3) | The currency code. |
ForeignCurrency.CurrencyName | String | The full name of the currency |
ForeignCurrency.URI | String | Uniform resource identifier associated with the currency object. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web |
CurrencyExchangeRate | Decimal (13.8) | The exchange rate between the Local and Foreign currency |
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. ONLY required for updating an existing general journal entry. NOT required when creating a new general journal entry. |