API

Procurement APIs

GET procurement/invoices/{supplierInvoiceId}/items/{itemId}/applicable-backlog-items

Get list of purchase order candidates for linking to supplier invoice

HTTP method GET
URI https://api.rambase.net/procurement/invoices/{supplierInvoiceId}/items/{itemId}/applicable-backlog-items
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {supplierInvoiceId} Supplier invoice identifier
Integer, minimum 100000
- URI parameter {itemId} Item-/linenumber of supplier invoice
Integer, minimum 1
Successful HTTP status code 200
API resource identifier 5274, version 15

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.

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
<ApplicableBacklogItems>
2
     <ApplicableBacklogItem>
3
          <PendingInvoiceQuantity
PendingInvoiceQuantity

Remaining quantity that has not been invoiced. Will decrease when the purchase order get invoiced. Note that purchase order can get invoiced for none or part of the items.

>
{Decimal}</PendingInvoiceQuantity>
4
          <ApplicableInvoiceQuantity
ApplicableInvoiceQuantity

Purchase order item quantity linked to invoice

>
{Decimal}</ApplicableInvoiceQuantity>
5
          <ApplicableGoodsReceptionItems
ApplicableGoodsReceptionItems

Number of goods reception items that are possible candiates for linking to this purchase order candidate.

>
{Integer}</ApplicableGoodsReceptionItems>
6
          <HasValidQuantity
HasValidQuantity

Condition to point out if order item can be linked to invoice item

>
{Boolean}</HasValidQuantity>
7
          <LatestItem>
8
               <Price>
9
                    <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
10
                    <NetPrice
NetPrice

Price from last transaction coming from order.

>
{Decimal}</NetPrice>
11
               </Price>
12
          </LatestItem>
13
          <Item>
14
               <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
15
               <Status
Status

Status of the item/object.

>
{Integer}</Status>
16
               <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
17
               <ConfirmedDate
ConfirmedDate

Confirmed delivery date

>
{Date}</ConfirmedDate>
18
               <ProductDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

>
{String}</ProductDescription>
19
               <Quantity
Quantity

Number of units purchased

>
{Decimal}</Quantity>
20
               <SuppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers item reference number. Typically to an external system.

>
{String}</SuppliersReferenceNumber>
21
               <RequestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the buyer/purchaser

>
{Date}</RequestedDeliveryDate>
22
               <Price>
23
                    <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
24
                    <NetPrice
NetPrice

Final price per unit after deducting all discounts etc.

>
{Decimal}</NetPrice>
25
               </Price>
26
               <Product>
27
                    <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

>
{String}</Type>
30
                    <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
31
               </Product>
32
               <Object>
33
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

>
{String}</ObjectType>
35
                    <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
36
                    <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
37
                    <SuppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

>
{String}</SuppliersReference>
38
                    <SuppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers reference number. Typically to an external system.

>
{String}</SuppliersReferenceNumber>
39
                    <Type
Type

Type of purchase order

>
{String}</Type>
40
                    <Location>
41
                         <LocationId
LocationId

Location identifier

>
{Integer}</LocationId>
42
                         <Name
Name

Name of location

>
{String}</Name>
43
                         <ShortName
ShortName

Unique abbreviation/short name of the location

>
{String}</ShortName>
44
                         <LocationLink
LocationLink

Location reference

>
{String}</LocationLink>
45
                    </Location>
46
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
47
               </Object>
48
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
50
          </Item>
51
     </ApplicableBacklogItem>
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}</PageSize>
54
          <Position
Position

Position of the first element in the list

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

Page index

>
{Integer}</Page>
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}</FirstPageKey>
57
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
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}</PreviousPageKey>
59
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
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}</NextPageKey>
61
          <NextPage
NextPage

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

>
{String}</NextPage>
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}</LastPageKey>
63
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
65
     </Paging>
66
</ApplicableBacklogItems>
1
{
2
     "applicableBacklogItems": [
3
          {
4
               "pendingInvoiceQuantity
PendingInvoiceQuantity

Remaining quantity that has not been invoiced. Will decrease when the purchase order get invoiced. Note that purchase order can get invoiced for none or part of the items.

":
"{Decimal}",
5
               "applicableInvoiceQuantity
ApplicableInvoiceQuantity

Purchase order item quantity linked to invoice

":
"{Decimal}",
6
               "applicableGoodsReceptionItems
ApplicableGoodsReceptionItems

Number of goods reception items that are possible candiates for linking to this purchase order candidate.

":
"{Integer}",
7
               "hasValidQuantity
HasValidQuantity

Condition to point out if order item can be linked to invoice item

":
"{Boolean}",
8
               "latestItem": {
9
                    "price": {
10
                         "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
11
                         "netPrice
NetPrice

Price from last transaction coming from order.

":
"{Decimal}"
12
                    }
13
               },
14
               "item": {
15
                    "itemId
ItemId

Item-number of the object

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

Status of the item/object.

":
"{Integer}",
17
                    "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
18
                    "confirmedDate
ConfirmedDate

Confirmed delivery date

":
"{Date}",
19
                    "productDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

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

Number of units purchased

":
"{Decimal}",
21
                    "suppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers item reference number. Typically to an external system.

":
"{String}",
22
                    "requestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the buyer/purchaser

":
"{Date}",
23
                    "price": {
24
                         "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
25
                         "netPrice
NetPrice

Final price per unit after deducting all discounts etc.

":
"{Decimal}"
26
                    },
27
                    "product": {
28
                         "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

":
"{String}",
31
                         "productLink
ProductLink

Product reference

":
"{String}"
32
                    },
33
                    "object": {
34
                         "objectId
ObjectId

Identifier of the object

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

Type of object

":
"{String}",
36
                         "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
37
                         "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
38
                         "suppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

":
"{String}",
39
                         "suppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers reference number. Typically to an external system.

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

Type of purchase order

":
"{String}",
41
                         "location": {
42
                              "locationId
LocationId

Location identifier

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

Name of location

":
"{String}",
44
                              "shortName
ShortName

Unique abbreviation/short name of the location

":
"{String}",
45
                              "locationLink
LocationLink

Location reference

":
"{String}"
46
                         },
47
                         "objectLink
ObjectLink

API reference to the object

":
"{String}"
48
                    },
49
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}"
51
               }
52
          }
53
     ],
54
     "paging
Paging

Detailed paging information for this list.

":
{
55
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

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

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

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

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

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

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

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

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

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

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

":
"{Integer}"
67
     }
68
}

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