JournalTransaction
Return a list of journals for all transaction types.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/GeneralLedger/JournalTransaction |
Attribute Details
Paging: default page size is set to 400 with a maximum of 5000 results.
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique identifier in the form of a guid. |
DisplayID | String (13) | Journal transaction id. |
JournalType | String | Full list of journal types: General Sale Purchase CashPayment CashReceipt Inventory |
SourceTransaction | String | Source transaction that created the journal entry. |
SourceTransaction.UID | Guid (36) | Foreign Key : Unique identifier for the source transaction in the form of a guid. |
SourceTransaction.TransactionType | String (30) | Transaction types consist of the following: Bill Invoice SupplierPayment CustomerPayment SpendMoneyTxn ReceiveMoneyTxn TransferMoneyTxn GeneralJournal InventoryAdjustment CreditRefund CreditSettlement DebitRefund DebitSettlement |
SourceTransaction.URI | String | Uniform resource identifier associated with the transaction object. |
DateOccurred | DateTime | Transaction date entry, format YYYY-MM-DD HH:MM:SS { 'DateOccurred': '2014-04-09 00:00:00' } |
DatePosted | DateTime | Date timestamp for day the transaction was entered, format YYYY-MM-DD HH:MM:SS { 'DatePosted': '2014-08-11 13:33:02' } |
Description | String (255) | Journal memo assigned to the transaction. |
Lines | array | An array of journal line information |
Lines.Account | object | The following set of information pulls through details for an Account |
Lines.Account.UID | Guid (36) | Foreign Key : Unique identifier for the account in the form of a guid. |
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-1200' } |
Lines.Account.URI | String | Uniform resource identifier associated with the account object. |
Lines.Amount | Decimal (13.6) | Dollar amount posted to the Account object for each line of the transaction. |
Lines.IsCredit | Boolean | True indicates the amount posted a credit to the Account object. False indicates the amount posted did not record as a credit to the Account object. |
Lines.Job | object | The following set of information pulls through the details for a job |
Lines.Job.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the job for the line of the service sale. |
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.LineDescription | String (255) | Line description for each line of the transaction if one has been entered. |
Lines.ReconciledDate | DateTime | Date timestamp for day the transaction was reconciled, format YYYY-MM-DD HH:MM:SS { 'ReconciledDate': '2014-08-11 13:33:02' } |
Lines.UnitCount | Decimal (19.6) | Quantity value of the journal transaction entry. |
Lines.URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
Lines.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
[
{
"UID": "17960eb4-3e14-4805-aae2-5b2387da1153",
"Name": "Trade Debtors",
"DisplayID": "1-1310",
"URI": "{cf_uri}/GeneralLedger/Account/17960eb4-3e14-4805-aae2-5b2387da1153"
},
{
"Amount": null,
"IsCredit": false,
"Job": null,
"LineDescription": "",
"ReconciledDate": null,
"UnitCount": "null"
},
{
"UID": "f7d18c92-ada8-428e-b02a-9223022f84b2",
"Name": "Late Fees Collected",
"DisplayID": "4-3000",
"URI": "{cf_uri}/GeneralLedger/Account/f7d18c92-ada8-428e-b02a-9223022f84b2"
},
{
"Amount": null,
"IsCredit": true,
"Job": null,
"LineDescription": "Line 1 testing",
"UnitCount": "null"
},
{
"UID": "5427d47c-499a-4386-ad67-72de39520a00",
"Name": "GST Collected",
"DisplayID": "2-1210",
"URI": "{cf_uri}/GeneralLedger/Account/5427d47c-499a-4386-ad67-72de39520a00"
},
{
"Amount": null,
"IsCredit": true,
"Job": null,
"LineDescription": "",
"ReconciledDate": null,
"UnitCount": "null"
},
{
"UID": "c604ae23-220d-43b7-8f57-f10478bc9066",
"DisplayID": "00000001",
"JournalType": "Sale",
"TransactionType": "Invoice",
"URI": "{cf_uri}/GeneralLedger/JournalTransaction/9992534b-7cfe-46a3-9077-4368016adf66",
"DateOccurred": "2014-04-09T00:00:00",
"DatePosted": "2014-03-10T03:31:57.19",
"Description": "Sale; Cameron, James",
"RowVersion": "-1435803856201056256"
}
]The {cf_uri} is provided by the businessId parameter as described here.