Journal Line
JournalLine [Schema]
Name | Type | Required | Description |
---|---|---|---|
NomCode | xsd:string ( max: 10) | yes | The nominal code for the journal line. |
SubNomCode | xsd:string ( max: 10) | no | [Optional] The sub nominal code for the journal line. |
Description | xsd:string ( max: 250) | yes | The description of the journal line. |
Grouping | xsd:string ( max: 250) | no | The grouping value of the journal line. [Optional] used to store the composite grouping value used during line generation. |
LedgerTarget | xsd:string ( max: 250) | no | The ledger target of the journal line. [Optional] used to target an accounting ledger format. |
Debit | Money | yes | The debit monetary value of the line. |
Credit | Money | yes | The credit monetary value of the line. |
PayFrequency | PayFrequency | yes | Determines the pay frequency of the generated journal line. |
TaxYear | TaxYear | yes | Determines the journal calculation tax year. E.g 2020. |
TaxPeriod | xsd:integer ( min: 1 max: 52) | yes | Determines the journal calculation tax period. 1 - 12 for monthly or 1 - 52 for weekly. |
Employee | Link | no | A link to the employee associated with this journal line. |
SubContractor | Link | no | A link to the sub contractor associated with this journal line. |
PayRun | Link | no | A link to the pay run associated with this journal line. |
Generated | xsd:dateTime | yes | The date and time the report line was generated. |
Example
<?xml version="1.0"?>
<JournalLine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<NomCode>string</NomCode>
<SubNomCode>string</SubNomCode>
<Description>string</Description>
<Grouping>string</Grouping>
<LedgerTarget>string</LedgerTarget>
<Debit>123.99</Debit>
<Credit>123.99</Credit>
<TaxYear>123</TaxYear>
<TaxPeriod>123</TaxPeriod>
<PayFrequency>Weekly</PayFrequency>
<Employee title="string" href="string" rel="string" />
<SubContractor title="string" href="string" rel="string" />
<PayRun title="string" href="string" rel="string" />
<Generated>2021-01-18T00:00:00+00:00</Generated>
</JournalLine>
{
"JournalLine": {
"NomCode": "string",
"SubNomCode": "string",
"Description": "string",
"Grouping": "string",
"LedgerTarget": "string",
"Debit": "123.99",
"Credit": "123.99",
"TaxYear": "123",
"TaxPeriod": "123",
"PayFrequency": "Weekly",
"Employee": {
"@title": "string",
"@href": "string",
"@rel": "string"
},
"SubContractor": {
"@title": "string",
"@href": "string",
"@rel": "string"
},
"PayRun": {
"@title": "string",
"@href": "string",
"@rel": "string"
},
"Generated": "2021-01-18T00:00:00+00:00"
}
}