API

Finance APIs

GET system/reports/100492/result-set?accountingPeriod={accountingPeriod}&date={date}&supplierId={supplierId}

Supplier statement

Report name Supplier statement
Report identifier 100492
HTTP method GET
URI https://api.rambase.net/system/reports/100492/result-set?accountingPeriod={accountingPeriod}&date={date}&supplierId={supplierId}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 4064, version 5

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.

accountingPeriod Integer, optional Report will list records to this period. If this is specified the date parameter will be ignored.

Minimum: 190000,
Maximum: 299999
date Date, optional Report will list records to this date. If period is specified this date parameter will be ignored.
supplierId Integer, optional RamBase supplier identifier

Minimum: 100
$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. Available macros: currentPeriod(), previousPeriod()
AccountsPayableTransactionId Integer Accounts payable transaction identifier.
Currency String Three character code following the ISO 4217 standard.
PaymentTerms String Terms of payment. Defaut value is retrieved from the supplier..
Status Integer Status of accounts payable transaction.
SupplierId Integer RamBase supplier identifier.

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

AccountingPeriod Integer Accounting period
AccountsPayableTransactionId Integer Accounts payable transaction identifier
Currency String Three character code following the ISO 4217 standard
PaymentTerms String Terms of payment. Defaut value is retrieved from the supplier.
Status Integer Status of accounts payable transaction
SupplierId Integer RamBase supplier identifier

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
<Report>
2
     <Rows>
3
          <Row>
4
               <Status
Status

Status of accounts payable transaction

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

Invoice, credit reference or payment item reference

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

RamBase supplier identifier

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

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

>
{String}</Name>
8
               <Text
Text

Descriptive text of record

>
{String}</Text>
9
               <AccountingPeriod
AccountingPeriod

Accounting period

>
{Integer}</AccountingPeriod>
10
               <Date
Date

Date the object was issued

>
{Date}</Date>
11
               <DueDate
DueDate

Date the object is due to be paid

>
{Date}</DueDate>
12
               <GrossAmount
GrossAmount

Total amount

>
{Decimal}</GrossAmount>
13
               <Currency
Currency

Three character code following the ISO 4217 standard

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

The exchange rate used in convertion

>
{Decimal}</ExchangeRate>
15
               <ConvertedGrossAmount
ConvertedGrossAmount

Amount/{CUR}

>
{Decimal}</ConvertedGrossAmount>
16
               <NotDueAmount
NotDueAmount

Total amount that is not due

>
{Decimal}</NotDueAmount>
17
               <OverdueAmount
OverdueAmount

Total amount of unpaid invoices which has passed due date

>
{Decimal}</OverdueAmount>
18
               <Inspect>
19
                    <TargetApplication
TargetApplication

Application reference when inspecting a line in a report.

>
{String}</TargetApplication>
20
               </Inspect>
21
          </Row>
22
     </Rows>
23
     <Aggregated
Aggregated

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

>
24
          <ConvertedGrossAmount
ConvertedGrossAmount

Amount/{CUR}

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

>
{Decimal}</ConvertedGrossAmount>
25
          <NotDueAmount
NotDueAmount

Total amount that is not due

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

>
{Decimal}</NotDueAmount>
26
          <OverdueAmount
OverdueAmount

Total amount of unpaid invoices which has passed due date

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

>
{Decimal}</OverdueAmount>
27
     </Aggregated>
28
     <ColumnParameters
ColumnParameters

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

>
29
          <ColumnParameter
ColumnParameter

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

>
30
               <Key
Key

Key that is used in description to lookup value from COS. The key is referenced by encapsulating it in curly braces.

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

>
{String}</Key>
31
               <Value
Value

The value of the column parameter from COS that will be shown in the column headers referencing the column parameter key.

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

>
{String}</Value>
32
          </ColumnParameter>
33
     </ColumnParameters>
34
     <Paging
Paging

Detailed paging information for this list.

>
35
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
38
          <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>
39
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
40
          <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>
41
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
42
          <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>
43
          <NextPage
NextPage

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

>
{String}</NextPage>
44
          <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>
45
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
47
     </Paging>
48
</Report>
1
{
2
     "report": {
3
          "rows": [
4
               {
5
                    "status
Status

Status of accounts payable transaction

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

Invoice, credit reference or payment item reference

":
"{String}",
7
                    "supplierId
SupplierId

RamBase supplier identifier

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

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

":
"{String}",
9
                    "text
Text

Descriptive text of record

":
"{String}",
10
                    "accountingPeriod
AccountingPeriod

Accounting period

":
"{Integer}",
11
                    "date
Date

Date the object was issued

":
"{Date}",
12
                    "dueDate
DueDate

Date the object is due to be paid

":
"{Date}",
13
                    "grossAmount
GrossAmount

Total amount

":
"{Decimal}",
14
                    "currency
Currency

Three character code following the ISO 4217 standard

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

The exchange rate used in convertion

":
"{Decimal}",
16
                    "convertedGrossAmount
ConvertedGrossAmount

Amount/{CUR}

":
"{Decimal}",
17
                    "notDueAmount
NotDueAmount

Total amount that is not due

":
"{Decimal}",
18
                    "overdueAmount
OverdueAmount

Total amount of unpaid invoices which has passed due date

":
"{Decimal}",
19
                    "inspect": {
20
                         "targetApplication
TargetApplication

Application reference when inspecting a line in a report.

":
"{String}"
21
                    }
22
               }
23
          ],
24
          "aggregated
Aggregated

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

":
{
25
               "convertedGrossAmount
ConvertedGrossAmount

Amount/{CUR}

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

":
"{Decimal}",
26
               "notDueAmount
NotDueAmount

Total amount that is not due

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

":
"{Decimal}",
27
               "overdueAmount
OverdueAmount

Total amount of unpaid invoices which has passed due date

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

":
"{Decimal}"
28
          },
29
          "columnParameters
ColumnParameters

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

":
[
30
               {
31
                    "key
Key

Key that is used in description to lookup value from COS. The key is referenced by encapsulating it in curly braces.

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

":
"{String}",
32
                    "value
Value

The value of the column parameter from COS that will be shown in the column headers referencing the column parameter key.

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

":
"{String}"
33
               }
34
          ]
35
     }
36
}

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 104920 HTTP 400 Log text is required
Error 104921 HTTP 400 Invalid log category
Error 101281 HTTP 400 Too many {0} parameters. Maximum is {1}.
Error 100175 HTTP 400 To date must be equal to, or later than from date.
Error 105710 HTTP 400 Invalid output type