API

Finance APIs

GET finance/accounts-receivable-transactions/key-figures/transactions?date={date}&period={periodId}&currency={currency}&rateDate={rateDate}&ratePeriod={ratePeriod}&useTransactionRate={useTransactionRate}&useTransactionCurrency={useTransactionCurrency}&includeSupplierBalance={includeSupplierBalance}

List of transactions for sales balance, based on saccounts receivable transactions.

HTTP method GET
URI https://api.rambase.net/finance/accounts-receivable-transactions/key-figures/transactions?date={date}&period={periodId}&currency={currency}&rateDate={rateDate}&ratePeriod={ratePeriod}&useTransactionRate={useTransactionRate}&useTransactionCurrency={useTransactionCurrency}&includeSupplierBalance={includeSupplierBalance}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 6864, version 3

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.

date Date, optional Calculate balance on the specific date
period Integer, optional Calculate balance for a specific period, uses the last date of the period

Minimum: 190000,
Maximum: 299999
currency String, optional The values will be shown in this currency

Regular expression: ^[A-Z]{3}$
rateDate Date, optional Date which is used to get the currency rates
ratePeriod Integer, optional Period which is used to get the currency rates, the last date in the period will be used

Minimum: 190000,
Maximum: 299999
useTransactionRate Boolean, optional The rate from the transactions will be used and the values will be shown in the company currency

Default: False
useTransactionCurrency Boolean, optional The currency amounts from the transactions will be used for the calculations

Default: False
includeSupplierBalance Boolean, optional Include the supplier balance into the calculation, relevant for auction customers

Default: False
$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.

AccountingPeriod Integer Accounting period.
Currency String Three character code following the ISO 4217 standard.
CustomerId Integer Customer identifier.
CustomerName String Name of customer (name of company or surname/familyname/lastname of a person).
IntercompanyCode String Intercompany database the customer belongs to.
InvoiceAddressCountryCode String Two-character code (ISO 3166) identifying the country.
IssueDate Date Date when the document was issued. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ManufacturerShortName String Shortname/code of the manufacturer.
Seller Integer Employee identifier. Available macros: currentUser()
SellersReferenceNumber String Sellers reference number..

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

AccountingPeriod Integer Accounting period
Currency String Three character code following the ISO 4217 standard
CustomerId Integer Customer identifier
CustomerName String Name of customer (name of company or surname/familyname/lastname of a person)
IntercompanyCode String Intercompany database the customer belongs to.
InvoiceAddressCountryCode String Two-character code (ISO 3166) identifying the country.
ManufacturerShortName String Shortname/code of the manufacturer
Seller Integer Employee identifier
SellersReferenceNumber String Sellers reference number.

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
<Transactions>
2
     <Transaction>
3
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
4
          <NotDueAmount
NotDueAmount

Not due amount

>
{Decimal}</NotDueAmount>
5
          <DueAmount
DueAmount

Due amount

>
{Decimal}</DueAmount>
6
          <Counterparty
Counterparty

The customer or supplier involved in the accounts transactions

>
7
               <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
9
               <Name
Name

Name of the customer/supplier, or last name if it is a person.

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

First name of the customer/supplier

>
{String}</FirstName>
11
               <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
12
          </Counterparty>
13
          <AccountsTransaction>
14
               <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
16
               <Status
Status

Status of the accounts receivable transaction

Possible domain values can be found here

>
{String}</Status>
17
               <TranslatedDescription
TranslatedDescription

Description of the accounts receivable transaction.

>
{String}</TranslatedDescription>
18
               <Type
Type

Type of transaction

Possible domain values can be found here

>
{String}</Type>
19
               <DueDate
DueDate

Date the object is due to be paid

>
{Date}</DueDate>
20
               <Source>
21
                    <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
22
                    <SellersPaymentReference
SellersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

>
{String}</SellersPaymentReference>
23
                    <Reference>
24
                         <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
26
                         <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
27
                         <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
28
                         <ItemType
ItemType

Type of item

>
{String}</ItemType>
29
                         <ItemLink
ItemLink

API reference to the item

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

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
31
                    </Reference>
32
               </Source>
33
               <Totals>
34
                    <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
35
                    <VATAmount
VATAmount

Total value added tax in object currency.

>
{Decimal}</VATAmount>
36
                    <TotalAmount
TotalAmount

Total amount

>
{Decimal}</TotalAmount>
37
               </Totals>
38
               <TotalsConverted
TotalsConverted

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

>
39
                    <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=Transaction.AccountsTransaction.TotalsConverted in your request URI to get this field

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

The exchange rate used in convertion

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

>
{Decimal}</ExchangeRate>
41
                    <VATAmount
VATAmount

Value added tax amount in company currency.

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

>
{Decimal}</VATAmount>
42
                    <TotalAmount
TotalAmount

Total amount in company currency.

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

>
{Decimal}</TotalAmount>
43
               </TotalsConverted>
44
               <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
45
          </AccountsTransaction>
46
     </Transaction>
47
     <Paging
Paging

Detailed paging information for this list.

>
48
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
51
          <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>
52
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
53
          <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>
54
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
55
          <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>
56
          <NextPage
NextPage

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

>
{String}</NextPage>
57
          <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>
58
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
60
     </Paging>
61
</Transactions>
1
{
2
     "transactions": [
3
          {
4
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
5
               "notDueAmount
NotDueAmount

Not due amount

":
"{Decimal}",
6
               "dueAmount
DueAmount

Due amount

":
"{Decimal}",
7
               "counterparty
Counterparty

The customer or supplier involved in the accounts transactions

":
{
8
                    "objectId
ObjectId

Identifier of the object

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

Type of object

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

Name of the customer/supplier, or last name if it is a person.

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

First name of the customer/supplier

":
"{String}",
12
                    "objectLink
ObjectLink

API reference to the object

":
"{String}"
13
               },
14
               "accountsTransaction": {
15
                    "objectId
ObjectId

Identifier of the object

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

Type of object

":
"{String}",
17
                    "status
Status

Status of the accounts receivable transaction

Possible domain values can be found here

":
"{String}",
18
                    "translatedDescription
TranslatedDescription

Description of the accounts receivable transaction.

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

Type of transaction

Possible domain values can be found here

":
"{String}",
20
                    "dueDate
DueDate

Date the object is due to be paid

":
"{Date}",
21
                    "source": {
22
                         "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
23
                         "sellersPaymentReference
SellersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

":
"{String}",
24
                         "reference": {
25
                              "objectId
ObjectId

Identifier of the object

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

Type of object

":
"{String}",
27
                              "objectLink
ObjectLink

API reference to the object

":
"{String}",
28
                              "itemId
ItemId

Identifier of the object

":
"{Integer}",
29
                              "itemType
ItemType

Type of item

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

API reference to the item

":
"{String}",
31
                              "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
32
                         }
33
                    },
34
                    "totals": {
35
                         "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
36
                         "vATAmount
VATAmount

Total value added tax in object currency.

":
"{Decimal}",
37
                         "totalAmount
TotalAmount

Total amount

":
"{Decimal}"
38
                    },
39
                    "totalsConverted
TotalsConverted

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

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

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

The exchange rate used in convertion

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

":
"{Decimal}",
42
                         "vATAmount
VATAmount

Value added tax amount in company currency.

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

":
"{Decimal}",
43
                         "totalAmount
TotalAmount

Total amount in company currency.

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

":
"{Decimal}"
44
                    },
45
                    "objectLink
ObjectLink

API reference to the object

":
"{String}"
46
               }
47
          }
48
     ],
49
     "paging
Paging

Detailed paging information for this list.

":
{
50
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

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

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

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

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

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

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

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

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

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

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

":
"{Integer}"
62
     }
63
}

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 100209 HTTP 400 Illegal document Id {0}
Error 101086 HTTP 400 Missing required argument {0} for description
Error 101087 HTTP 400 Description argument/result mismatch