API

Finance APIs

GET finance/payable-journal-entry-accounting-lines

List of all payable journal entry accounting lines

HTTP method GET
URI https://api.rambase.net/finance/payable-journal-entry-accounting-lines
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 7022, 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
$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.
$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.
$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.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

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

PendingFixedAsset() Named filter Accounting lines which are pending fixed asset creation
AccountingLineId Integer Accounting line identifier of the payable journal entry.
AccountingPeriod Integer Accounting period. Available macros: currentPeriod(), previousPeriod()
AssetId Integer Asset identifier.
Currency String Three character code following the ISO 4217 standard.
DepartmentId Integer Department identifier.
FinanceProjectId Integer Finance project identifier.
GeneralLedgerAccountId Integer General ledger account identifier.
PayableJournalEntryId Integer Payable journal entry identifier.
Status Integer Status of the accounting line.
SupplierId Integer Customer identifier.
VATCode String Code that determines VAT rules used for VAT calculations.

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

AccountingLineId Integer Accounting line identifier of the payable journal entry
AccountingPeriod Integer Accounting period
AssetId Integer Asset identifier
Currency String Three character code following the ISO 4217 standard
DepartmentId Integer Department identifier
FinanceProjectId Integer Finance project identifier
GeneralLedgerAccountId Integer General ledger account identifier
PayableJournalEntryId Integer Payable journal entry identifier
Status Integer Status of the accounting line
SupplierId Integer Customer identifier
VATCode String Code that determines VAT rules used for VAT calculations.

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
<AccountingLines>
2
     <AccountingLine>
3
          <AccountingLineId
AccountingLineId

Accounting line identifier of the payable journal entry

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

Status of the accounting line

Possible domain values can be found here

>
{Integer}</Status>
5
          <PendingFixedAssetCreation
PendingFixedAssetCreation

Fixed asset reference is not created yet

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

Fixed asset identifier

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

Link to Fixed asset document

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

General ledger posting item identifier.

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

General ledger posting identifier

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

General ledger posting reference

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

Internal RamBase identifier of the object/item

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

General ledger posting reference

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

General ledger account identifier

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

The account number of the general ledger account

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

Name of general ledger account

>
{String}</Name>
24
                    <DepreciationRule>
25
                         <DepreciationRuleId
DepreciationRuleId

Depreciation rule identifier

>
{Integer}</DepreciationRuleId>
26
                         <Name
Name

Name of depreciation rule

>
{String}</Name>
27
                         <DepreciationPeriods
DepreciationPeriods

Count of periods of depreciation rule

>
{Integer}</DepreciationPeriods>
28
                         <BalanceAccount
BalanceAccount

The account where the asset's original acquisition value is recorded on the balance sheet

>
29
                              <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

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

Name of general ledger account

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

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

The account number of the general ledger account

>
{String}</AccountNumber>
32
                              <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
33
                         </BalanceAccount>
34
                         <DepreciationRuleLink
DepreciationRuleLink

Depreciation rule reference

>
{String}</DepreciationRuleLink>
35
                    </DepreciationRule>
36
                    <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
37
               </GeneralLedgerAccount>
38
               <Dimensions>
39
                    <Dimension>
40
                         <Value
Value

Value for this dimension defintion.

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

Description of the dimension value.

>
{String}</Description>
42
                         <DimensionDefinition>
43
                              <DimensionDefinitionId
DimensionDefinitionId

Dimension identifier

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

Name of dimension

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

Dimension reference

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

Code that determines VAT rules used for VAT calculations.

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

Value added tax percent

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

Description of VAT Code definition

>
{String}</Description>
54
          </VATCodeDefinition>
55
          <Totals>
56
               <Currency
Currency

Three character code following the ISO 4217 standard

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

Total debit amount.

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

Total credit amount.

>
{Decimal}</CreditAmount>
59
          </Totals>
60
          <TotalsConverted
TotalsConverted

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

>
61
               <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=AccountingLine.TotalsConverted in your request URI to get this field

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

The exchange rate used in convertion

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

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

Total debit amount in company currency.

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

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

Total credit amount in company currency.

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

>
{Decimal}</CreditAmount>
65
          </TotalsConverted>
66
          <PayableJournalEntry>
67
               <PayableJournalEntryId
PayableJournalEntryId

Payable journal entry identifier

>
{Integer}</PayableJournalEntryId>
68
               <Status
Status

Status of payable journal entry

Possible domain values can be found here

>
{String}</Status>
69
               <Source>
70
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
71
                    <Object>
72
                         <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
73
                         <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
74
                         <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
75
                         <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
76
                         <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
77
                    </Object>
78
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
79
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
80
               </Source>
81
               <Supplier>
82
                    <SupplierId
SupplierId

RamBase supplier identifier

>
{Integer}</SupplierId>
83
                    <Name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
84
                    <Firstname
Firstname

Firstname/givenname if the supplier is a person

>
{String}</Firstname>
85
                    <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
86
               </Supplier>
87
               <AccountingPeriod>
88
                    <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

>
{Integer}</AccountingPeriodId>
89
                    <Period
Period

Accounting period

>
{Integer}</Period>
90
                    <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
91
               </AccountingPeriod>
92
               <PayableJournalEntryLink
PayableJournalEntryLink

Payable journal entry reference

>
{String}</PayableJournalEntryLink>
93
          </PayableJournalEntry>
94
          <AccountingLineLink
AccountingLineLink

Accounting line reference

>
{String}</AccountingLineLink>
95
     </AccountingLine>
96
     <Paging
Paging

Detailed paging information for this list.

>
97
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
98
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
99
          <Page
Page

Page index

>
{Integer}</Page>
100
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

>
{String}</FirstPageKey>
101
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
102
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

>
{String}</PreviousPageKey>
103
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
104
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

>
{String}</NextPageKey>
105
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
106
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

>
{String}</LastPageKey>
107
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
108
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
109
     </Paging>
110
</AccountingLines>
1
{
2
     "accountingLines": [
3
          {
4
               "accountingLineId
AccountingLineId

Accounting line identifier of the payable journal entry

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

Status of the accounting line

Possible domain values can be found here

":
"{Integer}",
6
               "pendingFixedAssetCreation
PendingFixedAssetCreation

Fixed asset reference is not created yet

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

Fixed asset identifier

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

Link to Fixed asset document

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

General ledger posting item identifier.

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

General ledger posting identifier

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

General ledger posting reference

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

Internal RamBase identifier of the object/item

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

General ledger posting reference

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

General ledger account identifier

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

The account number of the general ledger account

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

Name of general ledger account

":
"{String}",
25
                         "depreciationRule": {
26
                              "depreciationRuleId
DepreciationRuleId

Depreciation rule identifier

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

Name of depreciation rule

":
"{String}",
28
                              "depreciationPeriods
DepreciationPeriods

Count of periods of depreciation rule

":
"{Integer}",
29
                              "balanceAccount
BalanceAccount

The account where the asset's original acquisition value is recorded on the balance sheet

":
{
30
                                   "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

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

Name of general ledger account

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

":
"{String}",
32
                                   "accountNumber
AccountNumber

The account number of the general ledger account

":
"{String}",
33
                                   "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
34
                              },
35
                              "depreciationRuleLink
DepreciationRuleLink

Depreciation rule reference

":
"{String}"
36
                         },
37
                         "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
38
                    },
39
                    "dimensions": [
40
                         {
41
                              "value
Value

Value for this dimension defintion.

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

Description of the dimension value.

":
"{String}",
43
                              "dimensionDefinition": {
44
                                   "dimensionDefinitionId
DimensionDefinitionId

Dimension identifier

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

Name of dimension

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

Dimension reference

":
"{String}"
47
                              }
48
                         }
49
                    ]
50
               },
51
               "vATCodeDefinition": {
52
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

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

Value added tax percent

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

Description of VAT Code definition

":
"{String}"
55
               },
56
               "totals": {
57
                    "currency
Currency

Three character code following the ISO 4217 standard

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

Total debit amount.

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

Total credit amount.

":
"{Decimal}"
60
               },
61
               "totalsConverted
TotalsConverted

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

":
{
62
                    "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=AccountingLine.TotalsConverted in your request URI to get this field

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

The exchange rate used in convertion

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

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

Total debit amount in company currency.

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

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

Total credit amount in company currency.

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

":
"{Decimal}"
66
               },
67
               "payableJournalEntry": {
68
                    "payableJournalEntryId
PayableJournalEntryId

Payable journal entry identifier

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

Status of payable journal entry

Possible domain values can be found here

":
"{String}",
70
                    "source": {
71
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
72
                         "object": {
73
                              "objectId
ObjectId

Identifier of the object

":
"{Integer}",
74
                              "objectType
ObjectType

Type of object

":
"{String}",
75
                              "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
76
                              "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
77
                              "objectLink
ObjectLink

API reference to the object

":
"{String}"
78
                         },
79
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
80
                         "itemLink
ItemLink

API reference to the item

":
"{String}"
81
                    },
82
                    "supplier": {
83
                         "supplierId
SupplierId

RamBase supplier identifier

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

Name of supplier (name of company or surname/familyname/lastname of a person)

":
"{String}",
85
                         "firstname
Firstname

Firstname/givenname if the supplier is a person

":
"{String}",
86
                         "supplierLink
SupplierLink

Supplier reference

":
"{String}"
87
                    },
88
                    "accountingPeriod": {
89
                         "accountingPeriodId
AccountingPeriodId

Accounting period identifier

":
"{Integer}",
90
                         "period
Period

Accounting period

":
"{Integer}",
91
                         "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
92
                    },
93
                    "payableJournalEntryLink
PayableJournalEntryLink

Payable journal entry reference

":
"{String}"
94
               },
95
               "accountingLineLink
AccountingLineLink

Accounting line reference

":
"{String}"
96
          }
97
     ],
98
     "paging
Paging

Detailed paging information for this list.

":
{
99
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
100
          "position
Position

Position of the first element in the list

":
"{Integer}",
101
          "page
Page

Page index

":
"{Integer}",
102
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

":
"{String}",
103
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
104
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

":
"{String}",
105
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
106
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

":
"{String}",
107
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
108
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

":
"{String}",
109
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
110
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
111
     }
112
}

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