API

Finance APIs

GET finance/payable-journal-entries/{payableJournalEntryId}/accounting-lines/{accountingLineId}

Details about a specific accounting line of an journal entry

HTTP method GET
URI https://api.rambase.net/finance/payable-journal-entries/{payableJournalEntryId}/accounting-lines/{accountingLineId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {payableJournalEntryId} Payable journal entry identifier
Integer, minimum 100000
- URI parameter {accountingLineId} Accounting line identifier of the payable journal entry
Integer, minimum 1
Successful HTTP status code 200
API resource identifier 3402, version 4

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<AccountingLine>
2
     <AccountingLineId
AccountingLineId

Accounting line identifier of the payable journal entry

>
{Integer}</AccountingLineId>
3
     <Status
Status

Status of the accounting line

Possible domain values can be found here

>
{Integer}</Status>
4
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <Source
Source

Source of the receivable ledger specification item.

Possible domain values can be found here

>
{String}</Source>
6
     <PendingFixedAssetCreation
PendingFixedAssetCreation

Fixed asset reference is not created yet

>
{Boolean}</PendingFixedAssetCreation>
7
     <FixedAsset>
8
          <FixedAssetId
FixedAssetId

Fixed asset identifier

>
{Integer}</FixedAssetId>
9
          <FixedAssetLink
FixedAssetLink

Link to Fixed asset document

>
{String}</FixedAssetLink>
10
     </FixedAsset>
11
     <GeneralLedgerPostingItem>
12
          <GeneralLedgerPostingItemId
GeneralLedgerPostingItemId

General ledger posting item identifier.

>
{Integer}</GeneralLedgerPostingItemId>
13
          <GeneralLedgerPosting>
14
               <GeneralLedgerPostingId
GeneralLedgerPostingId

General ledger posting identifier

>
{Integer}</GeneralLedgerPostingId>
15
               <GeneralLedgerPostingLink
GeneralLedgerPostingLink

General ledger posting reference

>
{String}</GeneralLedgerPostingLink>
16
          </GeneralLedgerPosting>
17
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
18
          <GeneralLedgerPostingItemLink
GeneralLedgerPostingItemLink

General ledger posting reference

>
{String}</GeneralLedgerPostingItemLink>
19
     </GeneralLedgerPostingItem>
20
     <AccountDimensions>
21
          <GeneralLedgerAccount>
22
               <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

>
{Integer}</GeneralLedgerAccountId>
23
               <AccountNumber
AccountNumber

The account number of the general ledger account

>
{String}</AccountNumber>
24
               <Name
Name

Name of general ledger account

>
{String}</Name>
25
               <DimensionRequirements
DimensionRequirements

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
26
                    <DimensionRequirement
DimensionRequirement

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
27
                         <Requirement
Requirement

Specifies how the dimension should be used for the specific account.

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Requirement>
28
                         <DimensionDefinition
DimensionDefinition

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
29
                              <DimensionDefinitionId
DimensionDefinitionId

Dimension identifier

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{Integer}</DimensionDefinitionId>
30
                              <Name
Name

Name of dimension

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Name>
31
                              <ValueSource
ValueSource

Where the value is selected from.

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
32
                                   <Type
Type

Type of source

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Type>
33
                              </ValueSource>
34
                              <DimensionDefinitionLink
DimensionDefinitionLink

Dimension reference

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</DimensionDefinitionLink>
35
                         </DimensionDefinition>
36
                    </DimensionRequirement>
37
               </DimensionRequirements>
38
               <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
39
          </GeneralLedgerAccount>
40
          <Dimensions>
41
               <Dimension>
42
                    <Value
Value

Value for this dimension defintion.

>
{String}</Value>
43
                    <Description
Description

Description of the dimension value.

>
{String}</Description>
44
                    <DimensionDefinition>
45
                         <DimensionDefinitionId
DimensionDefinitionId

Dimension identifier

>
{Integer}</DimensionDefinitionId>
46
                         <Name
Name

Name of dimension

>
{String}</Name>
47
                         <DimensionDefinitionLink
DimensionDefinitionLink

Dimension reference

>
{String}</DimensionDefinitionLink>
48
                    </DimensionDefinition>
49
               </Dimension>
50
          </Dimensions>
51
     </AccountDimensions>
52
     <VATCodeDefinition>
53
          <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

>
{String}</VATCode>
54
          <VATPercent
VATPercent

Value added tax percent

>
{Decimal}</VATPercent>
55
          <Description
Description

Description of VAT Code definition

>
{String}</Description>
56
     </VATCodeDefinition>
57
     <Location
Location

Location of general ledger posting item.

>
58
          <LocationId
LocationId

Location identifier

This field is greyed out because it is an expandable field. You have to add $expand=Location.LocationId in your request URI to get this field

>
{Integer}</LocationId>
59
          <ShortName
ShortName

Unique abbreviation/short name of the location

>
{String}</ShortName>
60
          <Name
Name

Name of warehouse location

>
{String}</Name>
61
          <Address
Address

This field is greyed out because it is an expandable field. You have to add $expand=Location.Address in your request URI to get this field

>
62
               <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

This field is greyed out because it is an expandable field. You have to add $expand=Location.Address in your request URI to get this field

>
{String}</CountryCode>
63
          </Address>
64
          <LocationLink
LocationLink

Location reference

This field is greyed out because it is an expandable field. You have to add $expand=Location.LocationLink in your request URI to get this field

>
{String}</LocationLink>
65
     </Location>
66
     <Totals>
67
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
68
          <DebitAmount
DebitAmount

Total debit amount.

>
{Decimal}</DebitAmount>
69
          <CreditAmount
CreditAmount

Total credit amount.

>
{Decimal}</CreditAmount>
70
     </Totals>
71
     <TotalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
72
          <Currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{String}</Currency>
73
          <ExchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</ExchangeRate>
74
          <DebitAmount
DebitAmount

Total debit amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</DebitAmount>
75
          <CreditAmount
CreditAmount

Total credit amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</CreditAmount>
76
     </TotalsConverted>
77
</AccountingLine>
1
{
2
     "accountingLine": {
3
          "accountingLineId
AccountingLineId

Accounting line identifier of the payable journal entry

":
"{Integer}",
4
          "status
Status

Status of the accounting line

Possible domain values can be found here

":
"{Integer}",
5
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
6
          "source
Source

Source of the receivable ledger specification item.

Possible domain values can be found here

":
"{String}",
7
          "pendingFixedAssetCreation
PendingFixedAssetCreation

Fixed asset reference is not created yet

":
"{Boolean}",
8
          "fixedAsset": {
9
               "fixedAssetId
FixedAssetId

Fixed asset identifier

":
"{Integer}",
10
               "fixedAssetLink
FixedAssetLink

Link to Fixed asset document

":
"{String}"
11
          },
12
          "generalLedgerPostingItem": {
13
               "generalLedgerPostingItemId
GeneralLedgerPostingItemId

General ledger posting item identifier.

":
"{Integer}",
14
               "generalLedgerPosting": {
15
                    "generalLedgerPostingId
GeneralLedgerPostingId

General ledger posting identifier

":
"{Integer}",
16
                    "generalLedgerPostingLink
GeneralLedgerPostingLink

General ledger posting reference

":
"{String}"
17
               },
18
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
19
               "generalLedgerPostingItemLink
GeneralLedgerPostingItemLink

General ledger posting reference

":
"{String}"
20
          },
21
          "accountDimensions": {
22
               "generalLedgerAccount": {
23
                    "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

":
"{Integer}",
24
                    "accountNumber
AccountNumber

The account number of the general ledger account

":
"{String}",
25
                    "name
Name

Name of general ledger account

":
"{String}",
26
                    "dimensionRequirements
DimensionRequirements

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
[
27
                         {
28
                              "requirement
Requirement

Specifies how the dimension should be used for the specific account.

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}",
29
                              "dimensionDefinition
DimensionDefinition

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
{
30
                                   "dimensionDefinitionId
DimensionDefinitionId

Dimension identifier

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{Integer}",
31
                                   "name
Name

Name of dimension

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}",
32
                                   "valueSource
ValueSource

Where the value is selected from.

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
{
33
                                        "type
Type

Type of source

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}"
34
                                   },
35
                                   "dimensionDefinitionLink
DimensionDefinitionLink

Dimension reference

This field is greyed out because it is an expandable field. You have to add $expand=AccountDimensions.GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}"
36
                              }
37
                         }
38
                    ],
39
                    "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
40
               },
41
               "dimensions": [
42
                    {
43
                         "value
Value

Value for this dimension defintion.

":
"{String}",
44
                         "description
Description

Description of the dimension value.

":
"{String}",
45
                         "dimensionDefinition": {
46
                              "dimensionDefinitionId
DimensionDefinitionId

Dimension identifier

":
"{Integer}",
47
                              "name
Name

Name of dimension

":
"{String}",
48
                              "dimensionDefinitionLink
DimensionDefinitionLink

Dimension reference

":
"{String}"
49
                         }
50
                    }
51
               ]
52
          },
53
          "vATCodeDefinition": {
54
               "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

":
"{String}",
55
               "vATPercent
VATPercent

Value added tax percent

":
"{Decimal}",
56
               "description
Description

Description of VAT Code definition

":
"{String}"
57
          },
58
          "location
Location

Location of general ledger posting item.

":
{
59
               "locationId
LocationId

Location identifier

This field is greyed out because it is an expandable field. You have to add $expand=Location.LocationId in your request URI to get this field

":
"{Integer}",
60
               "shortName
ShortName

Unique abbreviation/short name of the location

":
"{String}",
61
               "name
Name

Name of warehouse location

":
"{String}",
62
               "address
Address

This field is greyed out because it is an expandable field. You have to add $expand=Location.Address in your request URI to get this field

":
{
63
                    "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

This field is greyed out because it is an expandable field. You have to add $expand=Location.Address in your request URI to get this field

":
"{String}"
64
               },
65
               "locationLink
LocationLink

Location reference

This field is greyed out because it is an expandable field. You have to add $expand=Location.LocationLink in your request URI to get this field

":
"{String}"
66
          },
67
          "totals": {
68
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
69
               "debitAmount
DebitAmount

Total debit amount.

":
"{Decimal}",
70
               "creditAmount
CreditAmount

Total credit amount.

":
"{Decimal}"
71
          },
72
          "totalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
{
73
               "currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{String}",
74
               "exchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}",
75
               "debitAmount
DebitAmount

Total debit amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}",
76
               "creditAmount
CreditAmount

Total credit amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}"
77
          }
78
     }
79
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 100027 HTTP 400 Missing mandatory parameter {0}
Error 101420 HTTP 404 Setting definition not found