API

Finance APIs

GET system/reports/100065/result-set

Customer billing by item

Report name Customer Billing - by Item
Report identifier 100065
HTTP method GET
URI https://api.rambase.net/system/reports/100065/result-set
Supported formats Xml, Html, Json (ex. $format=json)
Successful HTTP status code 200
API resource identifier 5902, version 6

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.

$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.

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

Object reference

>
5
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
7
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
8
                    <ObjectLink
ObjectLink

API reference to the object

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

Item-number of the object

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

Type of item

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

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

API reference to the item

>
{String}</ItemLink>
12
               </Object>
13
               <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
14
               <Customer
Customer

Customer reference

>
15
                    <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
16
                    <Name
Name

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

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

Secondary name of a company or firstname of a person

>
{String}</Firstname>
18
                    <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
19
               </Customer>
20
               <Quantity
Quantity

Quantity of sales invoice item

>
{Decimal}</Quantity>
21
               <Product
Product

Product reference

>
22
                    <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
23
                    <Name
Name

Name of the product

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

Manufacturer reference

>
25
                         <ManufacturerId
ManufacturerId

Manufacturer identifier

>
{Integer}</ManufacturerId>
26
                         <ShortName
ShortName

Shortname/code of the manufacturer

>
{String}</ShortName>
27
                         <ManufacturerLink
ManufacturerLink

Manufacturer reference

>
{String}</ManufacturerLink>
28
                    </Manufacturer>
29
                    <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
30
               </Product>
31
               <GrossMargin
GrossMargin

Gross margin of the item.

>
{Decimal}</GrossMargin>
32
               <TotalsConverted
TotalsConverted

Totals converted to local currency

>
33
                    <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
34
                    <NetAmount
NetAmount

Total net amount in company currency.

>
{Decimal}</NetAmount>
35
                    <LandedCost
LandedCost

Gross landed cost multiplied with quantity of the item (converted to local currencies)

>
{Decimal}</LandedCost>
36
                    <GrossMarginAmount
GrossMarginAmount

Gross margin amount calculated (net amount - landed cost)

>
{Decimal}</GrossMarginAmount>
37
               </TotalsConverted>
38
               <InvoiceAddress
InvoiceAddress

Invoice address reference

>
39
                    <PostalCode
PostalCode

Postalcode/Postcode/ZIP

>
{String}</PostalCode>
40
                    <City
City

City/town/village

>
{String}</City>
41
               </InvoiceAddress>
42
               <Seller
Seller

Reference to the seller of the item

>
43
                    <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
44
                    <FirstName
FirstName

First name of employee

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

Last name of employee

>
{String}</LastName>
46
                    <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
47
               </Seller>
48
               <Department
Department

Department reference. One of the system/fixed account dimensions.

>
49
                    <DepartmentId
DepartmentId

Department identifier

>
{Integer}</DepartmentId>
50
                    <Name
Name

Name of department

>
{String}</Name>
51
                    <DepartmentLink
DepartmentLink

Finance department reference

>
{String}</DepartmentLink>
52
               </Department>
53
               <FinanceProject
FinanceProject

Finance project reference. One of the system/fixed account dimensions.

>
54
                    <FinanceProjectId
FinanceProjectId

Finance project identifier

>
{Integer}</FinanceProjectId>
55
                    <Name
Name

Name of finance project

>
{String}</Name>
56
                    <FinanceProjectLink
FinanceProjectLink

Finance project reference

>
{String}</FinanceProjectLink>
57
               </FinanceProject>
58
               <Inspect>
59
                    <TargetApplication
TargetApplication

Application reference when inspecting a line in a report.

>
{String}</TargetApplication>
60
                    <Filter
Filter

Filter used when inspecting a line in a report.

>
{String}</Filter>
61
               </Inspect>
62
          </Row>
63
     </Rows>
64
     <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

>
65
          <GrossMargin
GrossMargin

Gross margin of the item.

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}</GrossMargin>
66
          <TotalsConverted
TotalsConverted

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

>
67
               <NetAmount
NetAmount

Total net amount in company currency.

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}</NetAmount>
68
               <LandedCost
LandedCost

Gross landed cost multiplied with quantity of the item (converted to local currencies)

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}</LandedCost>
69
          </TotalsConverted>
70
     </Aggregated>
71
     <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

>
72
          <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

>
73
               <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>
74
               <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>
75
          </ColumnParameter>
76
     </ColumnParameters>
77
     <Paging
Paging

Detailed paging information for this list.

>
78
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
81
          <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>
82
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
83
          <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>
84
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
85
          <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>
86
          <NextPage
NextPage

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

>
{String}</NextPage>
87
          <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>
88
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
90
     </Paging>
91
</Report>
1
{
2
     "report": {
3
          "rows": [
4
               {
5
                    "object
Object

Object reference

":
{
6
                         "objectId
ObjectId

Identifier of the object

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

Type of object

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

Internal RamBase identifier of the object/item

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

API reference to the object

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

Item-number of the object

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

Type of item

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

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

API reference to the item

":
"{String}"
13
                    },
14
                    "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
15
                    "customer
Customer

Customer reference

":
{
16
                         "customerId
CustomerId

Customer identifier

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

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

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

Secondary name of a company or firstname of a person

":
"{String}",
19
                         "customerLink
CustomerLink

Customer reference

":
"{String}"
20
                    },
21
                    "quantity
Quantity

Quantity of sales invoice item

":
"{Decimal}",
22
                    "product
Product

Product reference

":
{
23
                         "productId
ProductId

Product identifier

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

Name of the product

":
"{String}",
25
                         "manufacturer
Manufacturer

Manufacturer reference

":
{
26
                              "manufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

":
"{String}",
28
                              "manufacturerLink
ManufacturerLink

Manufacturer reference

":
"{String}"
29
                         },
30
                         "productLink
ProductLink

Product reference

":
"{String}"
31
                    },
32
                    "grossMargin
GrossMargin

Gross margin of the item.

":
"{Decimal}",
33
                    "totalsConverted
TotalsConverted

Totals converted to local currency

":
{
34
                         "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
35
                         "netAmount
NetAmount

Total net amount in company currency.

":
"{Decimal}",
36
                         "landedCost
LandedCost

Gross landed cost multiplied with quantity of the item (converted to local currencies)

":
"{Decimal}",
37
                         "grossMarginAmount
GrossMarginAmount

Gross margin amount calculated (net amount - landed cost)

":
"{Decimal}"
38
                    },
39
                    "invoiceAddress
InvoiceAddress

Invoice address reference

":
{
40
                         "postalCode
PostalCode

Postalcode/Postcode/ZIP

":
"{String}",
41
                         "city
City

City/town/village

":
"{String}"
42
                    },
43
                    "seller
Seller

Reference to the seller of the item

":
{
44
                         "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
45
                         "firstName
FirstName

First name of employee

":
"{String}",
46
                         "lastName
LastName

Last name of employee

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

Employee reference

":
"{String}"
48
                    },
49
                    "department
Department

Department reference. One of the system/fixed account dimensions.

":
{
50
                         "departmentId
DepartmentId

Department identifier

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

Name of department

":
"{String}",
52
                         "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
53
                    },
54
                    "financeProject
FinanceProject

Finance project reference. One of the system/fixed account dimensions.

":
{
55
                         "financeProjectId
FinanceProjectId

Finance project identifier

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

Name of finance project

":
"{String}",
57
                         "financeProjectLink
FinanceProjectLink

Finance project reference

":
"{String}"
58
                    },
59
                    "inspect": {
60
                         "targetApplication
TargetApplication

Application reference when inspecting a line in a report.

":
"{String}",
61
                         "filter
Filter

Filter used when inspecting a line in a report.

":
"{String}"
62
                    }
63
               }
64
          ],
65
          "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

":
{
66
               "grossMargin
GrossMargin

Gross margin of the item.

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}",
67
               "totalsConverted
TotalsConverted

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

":
{
68
                    "netAmount
NetAmount

Total net amount in company currency.

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}",
69
                    "landedCost
LandedCost

Gross landed cost multiplied with quantity of the item (converted to local currencies)

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}"
70
               }
71
          },
72
          "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

":
[
73
               {
74
                    "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}",
75
                    "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}"
76
               }
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: