API

Finance APIs

GET finance/periods

List of accounting periods

HTTP method GET
URI https://api.rambase.net/finance/periods
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 513, version 19

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.

AccountingMonth String Month of accounting period.
AccountingPeriodId Integer Accounting period identifier.
AccountingYear Integer Year of accounting period.
EndDate Date End date of accounting period. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
Name String Name of accounting period.
Period Integer Accounting period. Available macros: currentPeriod(), previousPeriod()
StartDate Date Start date of accounting period. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
Status Integer Status of accounting period.
Type String Type of accounting period.
VATPeriod Integer Accounting period this VAT posting belongs to. Available macros: currentPeriod(), previousPeriod()

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

AccountingPeriodId Integer Accounting period identifier
EndDate Date End date of accounting period
Name String Name of accounting period
Period Integer Accounting period
StartDate Date Start date of accounting period
Status Integer Status of accounting period
Type String Type of accounting period
VATPeriod Integer Accounting period this VAT posting belongs to

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
<AccountingPeriods>
2
     <AccountingPeriod>
3
          <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

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

Status of accounting period

Possible domain values can be found here

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

Accounting period

>
{Integer}</Period>
6
          <Name
Name

Name of accounting period

>
{String}</Name>
7
          <Type
Type

Type of accounting period

Possible domain values can be found here

>
{String}</Type>
8
          <Description
Description

Description of accounting period

>
{String}</Description>
9
          <AgioStatus
AgioStatus

Agio status of accounting period

Possible domain values can be found here

>
{Integer}</AgioStatus>
10
          <IsReconciled
IsReconciled

Indicates if all general ledger postings are registered and reconciled to transation documents.

>
{Boolean}</IsReconciled>
11
          <VATPeriod
VATPeriod

Accounting period this VAT posting belongs to

>
{Integer}</VATPeriod>
12
          <StartDate
StartDate

Start date of accounting period

>
{Date}</StartDate>
13
          <EndDate
EndDate

End date of accounting period

>
{Date}</EndDate>
14
          <ClosedDate
ClosedDate

Closed date of accounting period

>
{Date}</ClosedDate>
15
          <CreatedBy>
16
               <UserId
UserId

User identifier

>
{Integer}</UserId>
17
               <Name
Name

Name of the user

>
{String}</Name>
18
               <FirstName
FirstName

First name of the user

>
{String}</FirstName>
19
               <UserLink
UserLink

User reference

>
{String}</UserLink>
20
          </CreatedBy>
21
          <ClosedBy>
22
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
23
               <LastName
LastName

Last name of employee

>
{String}</LastName>
24
               <FirstName
FirstName

First name of employee

>
{String}</FirstName>
25
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
26
          </ClosedBy>
27
          <Balances
Balances

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

>
28
               <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=AccountingPeriod.Balances in your request URI to get this field

>
{String}</Currency>
29
               <CustomerAmount
CustomerAmount

Customer balance amount

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

>
{Decimal}</CustomerAmount>
30
               <SupplierAmount
SupplierAmount

Supplier balance amount

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

>
{Decimal}</SupplierAmount>
31
               <Stock
Stock

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

>
32
                    <Amount
Amount

Inventory balance amount

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

>
{Decimal}</Amount>
33
                    <ImportDate
ImportDate

Inventory balance imported date

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

>
{Date}</ImportDate>
34
               </Stock>
35
               <WorkInProgress
WorkInProgress

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

>
36
                    <Amount
Amount

Work in progress balance amount

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

>
{Decimal}</Amount>
37
                    <ImportDate
ImportDate

Work in progress balance imported date

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

>
{Date}</ImportDate>
38
               </WorkInProgress>
39
               <StockAccrual
StockAccrual

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

>
40
                    <Amount
Amount

Product balance amount

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

>
{Decimal}</Amount>
41
                    <ImportDate
ImportDate

Product balance imported date

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

>
{Date}</ImportDate>
42
               </StockAccrual>
43
          </Balances>
44
          <FixedAssetsDepreciation
FixedAssetsDepreciation

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

>
45
               <Status
Status

Depreciation status

Possible domain values can be found here

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

>
{String}</Status>
46
               <Amount
Amount

Depreciation amount

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

>
{Decimal}</Amount>
47
          </FixedAssetsDepreciation>
48
          <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
49
     </AccountingPeriod>
50
     <Paging
Paging

Detailed paging information for this list.

>
51
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
54
          <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>
55
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
56
          <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>
57
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
58
          <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>
59
          <NextPage
NextPage

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

>
{String}</NextPage>
60
          <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>
61
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
63
     </Paging>
64
</AccountingPeriods>
1
{
2
     "accountingPeriods": [
3
          {
4
               "accountingPeriodId
AccountingPeriodId

Accounting period identifier

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

Status of accounting period

Possible domain values can be found here

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

Accounting period

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

Name of accounting period

":
"{String}",
8
               "type
Type

Type of accounting period

Possible domain values can be found here

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

Description of accounting period

":
"{String}",
10
               "agioStatus
AgioStatus

Agio status of accounting period

Possible domain values can be found here

":
"{Integer}",
11
               "isReconciled
IsReconciled

Indicates if all general ledger postings are registered and reconciled to transation documents.

":
"{Boolean}",
12
               "vATPeriod
VATPeriod

Accounting period this VAT posting belongs to

":
"{Integer}",
13
               "startDate
StartDate

Start date of accounting period

":
"{Date}",
14
               "endDate
EndDate

End date of accounting period

":
"{Date}",
15
               "closedDate
ClosedDate

Closed date of accounting period

":
"{Date}",
16
               "createdBy": {
17
                    "userId
UserId

User identifier

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

Name of the user

":
"{String}",
19
                    "firstName
FirstName

First name of the user

":
"{String}",
20
                    "userLink
UserLink

User reference

":
"{String}"
21
               },
22
               "closedBy": {
23
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
24
                    "lastName
LastName

Last name of employee

":
"{String}",
25
                    "firstName
FirstName

First name of employee

":
"{String}",
26
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
27
               },
28
               "balances
Balances

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

":
{
29
                    "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=AccountingPeriod.Balances in your request URI to get this field

":
"{String}",
30
                    "customerAmount
CustomerAmount

Customer balance amount

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

":
"{Decimal}",
31
                    "supplierAmount
SupplierAmount

Supplier balance amount

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

":
"{Decimal}",
32
                    "stock
Stock

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

":
{
33
                         "amount
Amount

Inventory balance amount

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

":
"{Decimal}",
34
                         "importDate
ImportDate

Inventory balance imported date

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

":
"{Date}"
35
                    },
36
                    "workInProgress
WorkInProgress

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

":
{
37
                         "amount
Amount

Work in progress balance amount

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

":
"{Decimal}",
38
                         "importDate
ImportDate

Work in progress balance imported date

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

":
"{Date}"
39
                    },
40
                    "stockAccrual
StockAccrual

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

":
{
41
                         "amount
Amount

Product balance amount

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

":
"{Decimal}",
42
                         "importDate
ImportDate

Product balance imported date

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

":
"{Date}"
43
                    }
44
               },
45
               "fixedAssetsDepreciation
FixedAssetsDepreciation

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

":
{
46
                    "status
Status

Depreciation status

Possible domain values can be found here

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

":
"{String}",
47
                    "amount
Amount

Depreciation amount

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

":
"{Decimal}"
48
               },
49
               "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
50
          }
51
     ],
52
     "paging
Paging

Detailed paging information for this list.

":
{
53
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

":
"{Integer}",
56
          "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}",
57
          "firstPage
FirstPage

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

":
"{String}",
58
          "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}",
59
          "previousPage
PreviousPage

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

":
"{String}",
60
          "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}",
61
          "nextPage
NextPage

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

":
"{String}",
62
          "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}",
63
          "lastPage
LastPage

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

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

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

":
"{Integer}"
65
     }
66
}

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