API

Logistics APIs

POST logistics/goods-receptions/{goodsReceptionId}/items

Creates a new item in provided goods reception

HTTP method POST
URI https://api.rambase.net/logistics/goods-receptions/{goodsReceptionId}/items
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {goodsReceptionId} Goods reception identifier
Integer, minimum 10000
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 3363, 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
<GoodsReceptionItem>
2
     <SuppliersReferenceNumber
SuppliersReferenceNumber

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

This field is optional.

>
{String}</SuppliersReferenceNumber>
3
     <SuppliersProductName
SuppliersProductName

Suppliers internal name of the product. Retrieved from the product.

This field is optional.

>
{String}</SuppliersProductName>
4
     <EquivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

This field is optional.

>
{String}</EquivalentProductName>
5
     <ProductStructureRevision
ProductStructureRevision

The requested revision of the product structure

This field is optional.

>
{String}</ProductStructureRevision>
6
     <ProductDescription
ProductDescription

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

This field is optional.

>
{String}</ProductDescription>
7
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

This field is optional.

>
{String}</Note>
8
     <HeatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

This field is optional.

>
{String}</HeatNumber>
9
     <Parcels
Parcels

Number of parcels/packages for this reception item. Used for deciding number of labels to print.

This field is optional.

>
{Integer}</Parcels>
10
     <Quantity
Quantity

Required/mandatory field

Number of units received

Minimum value: 0

>
{Decimal}</Quantity>
11
     <ProductionLot
ProductionLot

The production lot refers to the particular production unit of the manufactured item. Identification assigned to a particular quantity/lot/batch.

This field is optional.

>
{String}</ProductionLot>
12
     <Price
Price

This field is optional.

>
13
          <NetPrice
NetPrice

Final price per unit after deducting all discounts etc.

Minimum value: 0

This field is optional.

>
{Decimal}</NetPrice>
14
          <Freight
Freight

Freight pr unit. Is a part of landed cost for the received product.

Minimum value: 0

This field is optional.

>
{Decimal}</Freight>
15
          <FreightPercent
FreightPercent

Freight in percent of net price. Used for including freight cost in the gross margin calculation in sales orders, sales invoices etc.

Minimum value: 0

Maximum value: 100

This field is optional.

>
{Decimal}</FreightPercent>
16
     </Price>
17
     <Product>
18
          <ProductId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

>
{Integer}</ProductId>
19
     </Product>
20
</GoodsReceptionItem>
1
{
2
     "goodsReceptionItem": {
3
          "suppliersReferenceNumber
SuppliersReferenceNumber

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

This field is optional.

":
"{String}",
4
          "suppliersProductName
SuppliersProductName

Suppliers internal name of the product. Retrieved from the product.

This field is optional.

":
"{String}",
5
          "equivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

This field is optional.

":
"{String}",
6
          "productStructureRevision
ProductStructureRevision

The requested revision of the product structure

This field is optional.

":
"{String}",
7
          "productDescription
ProductDescription

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

This field is optional.

":
"{String}",
8
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

This field is optional.

":
"{String}",
9
          "heatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

This field is optional.

":
"{String}",
10
          "parcels
Parcels

Number of parcels/packages for this reception item. Used for deciding number of labels to print.

This field is optional.

":
"{Integer}",
11
          "quantity
Quantity

Required/mandatory field

Number of units received

Minimum value: 0

":
"{Decimal}",
12
          "productionLot
ProductionLot

The production lot refers to the particular production unit of the manufactured item. Identification assigned to a particular quantity/lot/batch.

This field is optional.

":
"{String}",
13
          "price
Price

This field is optional.

":
{
14
               "netPrice
NetPrice

Final price per unit after deducting all discounts etc.

Minimum value: 0

This field is optional.

":
"{Decimal}",
15
               "freight
Freight

Freight pr unit. Is a part of landed cost for the received product.

Minimum value: 0

This field is optional.

":
"{Decimal}",
16
               "freightPercent
FreightPercent

Freight in percent of net price. Used for including freight cost in the gross margin calculation in sales orders, sales invoices etc.

Minimum value: 0

Maximum value: 100

This field is optional.

":
"{Decimal}"
17
          },
18
          "product": {
19
               "productId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

":
"{Integer}"
20
          }
21
     }
22
}

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.

$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
$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.
$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]
$showCustomFields Boolean, optional Set to "true" to include custom fields. Default value is false.

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.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<GoodsReceptionItem>
2
     <GoodsReceptionItemId
GoodsReceptionItemId

Item-/line-number of the goods reception

>
{Integer}</GoodsReceptionItemId>
3
     <Status
Status

Status code of the the goods reception item

Possible domain values can be found here

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

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <LineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

>
{Integer}</LineNumber>
6
     <SuppliersReferenceNumber
SuppliersReferenceNumber

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

>
{String}</SuppliersReferenceNumber>
7
     <SuppliersProductName
SuppliersProductName

Suppliers internal name of the product. Retrieved from the product.

>
{String}</SuppliersProductName>
8
     <EquivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

>
{String}</EquivalentProductName>
9
     <HasCustomizedStructure
HasCustomizedStructure

True if products in goods reception item are customized product structures (and not standard product structure).

>
{Boolean}</HasCustomizedStructure>
10
     <ProductStructureRevision
ProductStructureRevision

The requested revision of the product structure

>
{String}</ProductStructureRevision>
11
     <ProductDescription
ProductDescription

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

>
{String}</ProductDescription>
12
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

>
{String}</Note>
13
     <VATPercent
VATPercent

Value added tax percent

>
{Decimal}</VATPercent>
14
     <Quantity
Quantity

Number of units received

>
{Decimal}</Quantity>
15
     <HeatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

>
{String}</HeatNumber>
16
     <NotInvoicedQuantity
NotInvoicedQuantity

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

>
{Decimal}</NotInvoicedQuantity>
17
     <AvailableQuantity
AvailableQuantity

Quantity available/free for use. Not assigned to anything.

>
{Decimal}</AvailableQuantity>
18
     <StockQuantity
StockQuantity

Remaining quantity in stock of the goods reception item. This quantity will decrease when shipped to customer or supplier, or when consumed in a completed production.

>
{Decimal}</StockQuantity>
19
     <RemainingQuantity
RemainingQuantity

Remaining number of units to be forwarded

>
{Decimal}</RemainingQuantity>
20
     <PickedStockQuantity
PickedStockQuantity

The picked stock quantity is the quantity picked, but not yet shipped or completed in production. When goods is picked, it is still included in the stock quantity until the goods is shipped or completed in production. Picked stock quantity can be subtracted from the stock quantity to know the exact quanitity from all stock locations for this goods reception item.

>
{Decimal}</PickedStockQuantity>
21
     <ReservedQuantity
ReservedQuantity

Quantity reserved from beeing assigned to other objects. Ex. quantity reserved to be used as spare parts, reserved for exhibitions and similar. The reserved quantity cannot be assigned to anything until the reservedquantity is released.

>
{Decimal}</ReservedQuantity>
22
     <RequireSerialNumberAtGoodsReception
RequireSerialNumberAtGoodsReception

If all units of this product should have a serial number in stock, you should require serial number to be required at goods reception. This will ensure that serial number is specified before goods receptions with this product is registered.

>
{Boolean}</RequireSerialNumberAtGoodsReception>
23
     <ProductionLot
ProductionLot

The production lot refers to the particular production unit of the manufactured item. Identification assigned to a particular quantity/lot/batch.

>
{String}</ProductionLot>
24
     <ProductionDate
ProductionDate

Production date is the date when the product was manufactured. For purchased products this date is informed about from supplier. For goods that are manufactured inhouse, this date is a date for when the company manufactured these products.

>
{Date}</ProductionDate>
25
     <Parcels
Parcels

Number of parcels/packages for this reception item. Used for deciding number of labels to print.

>
{Integer}</Parcels>
26
     <CountryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

>
{String}</CountryOfOriginCode>
27
     <BestBeforeDate
BestBeforeDate

Goods received in this goods reception item is best before this date.

>
{Date}</BestBeforeDate>
28
     <MaterialQuality>
29
          <QualityCode
QualityCode

Quality of the material. Only used for information.

>
{String}</QualityCode>
30
          <InternalNote
InternalNote

Additonal quality codes that are covered in addition to the code given by the field Quality description

>
{String}</InternalNote>
31
     </MaterialQuality>
32
     <Price>
33
          <Currency
Currency

Three character code following the ISO 4217 standard

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

Freight pr unit. Is a part of landed cost for the received product.

>
{Decimal}</Freight>
35
          <FreightPercent
FreightPercent

Freight in percent of net price. Used for including freight cost in the gross margin calculation in sales orders, sales invoices etc.

>
{Decimal}</FreightPercent>
36
          <GrossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

>
{Decimal}</GrossPrice>
37
          <NetPrice
NetPrice

Final price per unit after deducting all discounts etc.

>
{Decimal}</NetPrice>
38
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
39
          <GrossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

>
{Decimal}</GrossPrice>
40
          <NetPrice
NetPrice

Final price per unit after deducting all discounts.

>
{Decimal}</NetPrice>
41
     </Price>
42
     <Totals>
43
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
44
          <GrossAmount
GrossAmount

Represents the item amount before any discounts etc. is applied.

>
{Decimal}</GrossAmount>
45
          <NetAmount
NetAmount

Final item amount after deducting all discounts etc.

>
{Decimal}</NetAmount>
46
          <StockValue
StockValue

The total landed cost (amount) for the goods in stock in this item. Formula: Landec Cost = GrossPrice * StockQuantity * (1 + EstimatedFreightPercent / 100 )

>
{Decimal}</StockValue>
47
          <RemainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

>
{Decimal}</RemainingAmount>
48
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
49
          <GrossAmount
GrossAmount

Total gross amount in company currency.

>
{Decimal}</GrossAmount>
50
          <NetAmount
NetAmount

Total net amount in company currency.

>
{Decimal}</NetAmount>
51
          <StockValue
StockValue

The total landed cost (amount) for the goods in stock in this item. Formula: Landec Cost = GrossPrice * StockQuantity * (1 + EstimatedFreightPercent / 100 )

>
{Decimal}</StockValue>
52
          <RemainingAmount
RemainingAmount

Total remaining amount in company currency.

>
{Decimal}</RemainingAmount>
53
     </Totals>
54
     <MeasurementUnit>
55
          <MeasurementUnitId
MeasurementUnitId

Measurement unit identifier

>
{Integer}</MeasurementUnitId>
56
          <Unit
Unit

Measurement unit (ex. mm, km, dl, kg)

>
{String}</Unit>
57
          <Precision
Precision

The precision/accuracy of the measurement (number of decimals)

>
{Integer}</Precision>
58
          <MeasurementUnitLink
MeasurementUnitLink

Material unit reference

>
{String}</MeasurementUnitLink>
59
     </MeasurementUnit>
60
     <Product>
61
          <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

>
{String}</Type>
64
          <CustomField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField1>
65
          <CustomField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField2>
66
          <Dimensions>
67
               <Weight
Weight

The weight of the product in kilograms.

>
{Decimal}</Weight>
68
          </Dimensions>
69
          <ProductClassification>
70
               <ProductClassificationId
ProductClassificationId

Product classification identifier

>
{String}</ProductClassificationId>
71
               <ProductClassificationLink
ProductClassificationLink

Product classification reference

>
{String}</ProductClassificationLink>
72
          </ProductClassification>
73
          <Stock>
74
               <AutoCreateProductUnitAtGoodsReception
AutoCreateProductUnitAtGoodsReception

When activated, product units are automatically generated when goods are registered to stock.

>
{Boolean}</AutoCreateProductUnitAtGoodsReception>
75
          </Stock>
76
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
77
     </Product>
78
     <Manufacturer>
79
          <ManufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

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

Manufacturer reference

>
{String}</ManufacturerLink>
82
          <ManufacturersProductId
ManufacturersProductId

Manufacturer product identifier

>
{Integer}</ManufacturersProductId>
83
          <Name
Name

Manufacturers name of the product. Also known as Manufacturer Part Number (MPN).

>
{String}</Name>
84
          <ManufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

>
{String}</ManufacturersProductLink>
85
     </Manufacturer>
86
     <ProductStructure>
87
          <ProductStructureId
ProductStructureId

Product structure reference

>
{Integer}</ProductStructureId>
88
          <ProductStructureLink
ProductStructureLink

Product structure reference

>
{String}</ProductStructureLink>
89
          <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

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

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

First name of the customer/supplier

>
{String}</FirstName>
93
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the object

>
{String}</ObjectLink>
95
     </ProductStructure>
96
     <Accounting
Accounting

Accounting details for the item, including fixed/system dimensions. For all dimensions, see seperate resource.

>
97
          <VATCodeDefinition>
98
               <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

>
{String}</VATCode>
99
          </VATCodeDefinition>
100
          <GeneralLedgerAccount>
101
               <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

>
{Integer}</GeneralLedgerAccountId>
102
               <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
103
          </GeneralLedgerAccount>
104
          <Department
Department

The department related to the item. One of the system/fixed account dimensions.

>
105
               <DepartmentId
DepartmentId

Department identifier

>
{Integer}</DepartmentId>
106
               <DepartmentLink
DepartmentLink

Finance department reference

>
{String}</DepartmentLink>
107
          </Department>
108
          <FinanceProject
FinanceProject

The finance project related to the item. One of the system/fixed account dimensions.

>
109
               <FinanceProjectId
FinanceProjectId

Finance project identifier

>
{Integer}</FinanceProjectId>
110
               <FinanceProjectLink
FinanceProjectLink

Finance project reference

>
{String}</FinanceProjectLink>
111
          </FinanceProject>
112
          <Asset
Asset

The asset related to the item. One of the system/fixed account dimensions.

>
113
               <AssetId
AssetId

Asset identifier

>
{Integer}</AssetId>
114
               <AssetLink
AssetLink

Asset reference

>
{String}</AssetLink>
115
          </Asset>
116
     </Accounting>
117
     <ForwardedFrom
ForwardedFrom

The preceding/previous/source item.

>
118
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
119
          <ForwardedNetAmount
ForwardedNetAmount

The net amount forwarded to this item.

>
{Decimal}</ForwardedNetAmount>
120
          <ForwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

>
{Decimal}</ForwardedQuantity>
121
          <ForwardedFromItem>
122
               <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
123
               <Object>
124
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
127
               </Object>
128
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
130
          </ForwardedFromItem>
131
          <OpenForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

>
{Decimal}</OpenForwardedQuantity>
132
          <ForwardedToItems>
133
               <Item
Item

Item this item was forwarded to.

>
134
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
135
                    <Object>
136
                         <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
139
                    </Object>
140
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
142
               </Item>
143
          </ForwardedToItems>
144
     </ForwardedFrom>
145
     <InitialBacklogItem
InitialBacklogItem

Purchase order reference this goods reception item is created for

>
146
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
147
          <Object>
148
               <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
151
          </Object>
152
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
154
     </InitialBacklogItem>
155
     <Deviation>
156
          <DeviationId
DeviationId

Deviation identifier

>
{Integer}</DeviationId>
157
          <DeviationType>
158
               <Database
Database

Database of the object

>
{String}</Database>
159
               <DeviationTypeId
DeviationTypeId

Deviation definition identifier

>
{Integer}</DeviationTypeId>
160
               <Category
Category

Type of deviation

Possible domain values can be found here

>
{Integer}</Category>
161
               <GoodsHandling
GoodsHandling

Specifies how the goods should be handled

Possible domain values can be found here

>
{Integer}</GoodsHandling>
162
               <AccountingHandling
AccountingHandling

Specifies how accounting should handle the deviation

Possible domain values can be found here

>
{Integer}</AccountingHandling>
163
               <InterCompanyHandling
InterCompanyHandling

Specifies how the deviation should be handled in the inter company trading.

Possible domain values can be found here

>
{Integer}</InterCompanyHandling>
164
               <LandedCostCalculation
LandedCostCalculation

Specifies how landed cost should be calculated.

Possible domain values can be found here

>
{Integer}</LandedCostCalculation>
165
               <DeviationTypeLink
DeviationTypeLink

Deviation definition reference

>
{String}</DeviationTypeLink>
166
          </DeviationType>
167
          <DeviationLink
DeviationLink

Deviation reference

>
{String}</DeviationLink>
168
          <StockAccrual>
169
               <StockAccrualId
StockAccrualId

Stock accrual identifier

>
{Integer}</StockAccrualId>
170
               <Status
Status

Status of stock accrual

Possible domain values can be found here

>
{Integer}</Status>
171
               <StockAccrualLink
StockAccrualLink

Stock accrual reference

>
{String}</StockAccrualLink>
172
          </StockAccrual>
173
          <AssignmentRegistertId
AssignmentRegistertId

Assignment register identifier

>
{Integer}</AssignmentRegistertId>
174
          <AssignmentRegisterLink
AssignmentRegisterLink

Assignment register reference

>
{String}</AssignmentRegisterLink>
175
          <NotificationId
NotificationId

Notification identifier

>
{Integer}</NotificationId>
176
          <Status
Status

Status of the notification

Possible domain values can be found here

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

Date and time of creation

>
{Datetime}</CreatedAt>
178
          <Message
Message

The message from the notification definition, expanded with parameters.

>
{String}</Message>
179
          <TranslatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

>
{String}</TranslatedMessage>
180
          <NotificationType>
181
               <NotificationTypeId
NotificationTypeId

Notification type identifier

>
{String}</NotificationTypeId>
182
               <Category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

>
{String}</Category>
183
               <NotificationTypeLink
NotificationTypeLink

Notification type reference

>
{String}</NotificationTypeLink>
184
          </NotificationType>
185
          <NotificationLink
NotificationLink

Notification reference

>
{String}</NotificationLink>
186
     </Deviation>
187
</GoodsReceptionItem>
1
{
2
     "goodsReceptionItem": {
3
          "goodsReceptionItemId
GoodsReceptionItemId

Item-/line-number of the goods reception

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

Status code of the the goods reception item

Possible domain values can be found here

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

Date and time of creation

":
"{Datetime}",
6
          "lineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

":
"{Integer}",
7
          "suppliersReferenceNumber
SuppliersReferenceNumber

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

":
"{String}",
8
          "suppliersProductName
SuppliersProductName

Suppliers internal name of the product. Retrieved from the product.

":
"{String}",
9
          "equivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

":
"{String}",
10
          "hasCustomizedStructure
HasCustomizedStructure

True if products in goods reception item are customized product structures (and not standard product structure).

":
"{Boolean}",
11
          "productStructureRevision
ProductStructureRevision

The requested revision of the product structure

":
"{String}",
12
          "productDescription
ProductDescription

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

":
"{String}",
13
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

":
"{String}",
14
          "vATPercent
VATPercent

Value added tax percent

":
"{Decimal}",
15
          "quantity
Quantity

Number of units received

":
"{Decimal}",
16
          "heatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

":
"{String}",
17
          "notInvoicedQuantity
NotInvoicedQuantity

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

":
"{Decimal}",
18
          "availableQuantity
AvailableQuantity

Quantity available/free for use. Not assigned to anything.

":
"{Decimal}",
19
          "stockQuantity
StockQuantity

Remaining quantity in stock of the goods reception item. This quantity will decrease when shipped to customer or supplier, or when consumed in a completed production.

":
"{Decimal}",
20
          "remainingQuantity
RemainingQuantity

Remaining number of units to be forwarded

":
"{Decimal}",
21
          "pickedStockQuantity
PickedStockQuantity

The picked stock quantity is the quantity picked, but not yet shipped or completed in production. When goods is picked, it is still included in the stock quantity until the goods is shipped or completed in production. Picked stock quantity can be subtracted from the stock quantity to know the exact quanitity from all stock locations for this goods reception item.

":
"{Decimal}",
22
          "reservedQuantity
ReservedQuantity

Quantity reserved from beeing assigned to other objects. Ex. quantity reserved to be used as spare parts, reserved for exhibitions and similar. The reserved quantity cannot be assigned to anything until the reservedquantity is released.

":
"{Decimal}",
23
          "requireSerialNumberAtGoodsReception
RequireSerialNumberAtGoodsReception

If all units of this product should have a serial number in stock, you should require serial number to be required at goods reception. This will ensure that serial number is specified before goods receptions with this product is registered.

":
"{Boolean}",
24
          "productionLot
ProductionLot

The production lot refers to the particular production unit of the manufactured item. Identification assigned to a particular quantity/lot/batch.

":
"{String}",
25
          "productionDate
ProductionDate

Production date is the date when the product was manufactured. For purchased products this date is informed about from supplier. For goods that are manufactured inhouse, this date is a date for when the company manufactured these products.

":
"{Date}",
26
          "parcels
Parcels

Number of parcels/packages for this reception item. Used for deciding number of labels to print.

":
"{Integer}",
27
          "countryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

":
"{String}",
28
          "bestBeforeDate
BestBeforeDate

Goods received in this goods reception item is best before this date.

":
"{Date}",
29
          "materialQuality": {
30
               "qualityCode
QualityCode

Quality of the material. Only used for information.

":
"{String}",
31
               "internalNote
InternalNote

Additonal quality codes that are covered in addition to the code given by the field Quality description

":
"{String}"
32
          },
33
          "price": {
34
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
35
               "freight
Freight

Freight pr unit. Is a part of landed cost for the received product.

":
"{Decimal}",
36
               "freightPercent
FreightPercent

Freight in percent of net price. Used for including freight cost in the gross margin calculation in sales orders, sales invoices etc.

":
"{Decimal}",
37
               "grossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

":
"{Decimal}",
38
               "netPrice
NetPrice

Final price per unit after deducting all discounts etc.

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

Three character code following the ISO 4217 standard

":
"{String}",
40
               "grossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

":
"{Decimal}",
41
               "netPrice
NetPrice

Final price per unit after deducting all discounts.

":
"{Decimal}"
42
          },
43
          "totals": {
44
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
45
               "grossAmount
GrossAmount

Represents the item amount before any discounts etc. is applied.

":
"{Decimal}",
46
               "netAmount
NetAmount

Final item amount after deducting all discounts etc.

":
"{Decimal}",
47
               "stockValue
StockValue

The total landed cost (amount) for the goods in stock in this item. Formula: Landec Cost = GrossPrice * StockQuantity * (1 + EstimatedFreightPercent / 100 )

":
"{Decimal}",
48
               "remainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

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

Three character code following the ISO 4217 standard

":
"{String}",
50
               "grossAmount
GrossAmount

Total gross amount in company currency.

":
"{Decimal}",
51
               "netAmount
NetAmount

Total net amount in company currency.

":
"{Decimal}",
52
               "stockValue
StockValue

The total landed cost (amount) for the goods in stock in this item. Formula: Landec Cost = GrossPrice * StockQuantity * (1 + EstimatedFreightPercent / 100 )

":
"{Decimal}",
53
               "remainingAmount
RemainingAmount

Total remaining amount in company currency.

":
"{Decimal}"
54
          },
55
          "measurementUnit": {
56
               "measurementUnitId
MeasurementUnitId

Measurement unit identifier

":
"{Integer}",
57
               "unit
Unit

Measurement unit (ex. mm, km, dl, kg)

":
"{String}",
58
               "precision
Precision

The precision/accuracy of the measurement (number of decimals)

":
"{Integer}",
59
               "measurementUnitLink
MeasurementUnitLink

Material unit reference

":
"{String}"
60
          },
61
          "product": {
62
               "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

":
"{String}",
65
               "customField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
66
               "customField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
67
               "dimensions": {
68
                    "weight
Weight

The weight of the product in kilograms.

":
"{Decimal}"
69
               },
70
               "productClassification": {
71
                    "productClassificationId
ProductClassificationId

Product classification identifier

":
"{String}",
72
                    "productClassificationLink
ProductClassificationLink

Product classification reference

":
"{String}"
73
               },
74
               "stock": {
75
                    "autoCreateProductUnitAtGoodsReception
AutoCreateProductUnitAtGoodsReception

When activated, product units are automatically generated when goods are registered to stock.

":
"{Boolean}"
76
               },
77
               "productLink
ProductLink

Product reference

":
"{String}"
78
          },
79
          "manufacturer": {
80
               "manufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

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

Manufacturer reference

":
"{String}",
83
               "manufacturersProductId
ManufacturersProductId

Manufacturer product identifier

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

Manufacturers name of the product. Also known as Manufacturer Part Number (MPN).

":
"{String}",
85
               "manufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

":
"{String}"
86
          },
87
          "productStructure": {
88
               "productStructureId
ProductStructureId

Product structure reference

":
"{Integer}",
89
               "productStructureLink
ProductStructureLink

Product structure reference

":
"{String}",
90
               "objectId
ObjectId

Identifier of the object

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

Type of object

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

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

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

First name of the customer/supplier

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

Internal RamBase identifier of the object/item

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

API reference to the object

":
"{String}"
96
          },
97
          "accounting
Accounting

Accounting details for the item, including fixed/system dimensions. For all dimensions, see seperate resource.

":
{
98
               "vATCodeDefinition": {
99
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

":
"{String}"
100
               },
101
               "generalLedgerAccount": {
102
                    "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

":
"{Integer}",
103
                    "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
104
               },
105
               "department
Department

The department related to the item. One of the system/fixed account dimensions.

":
{
106
                    "departmentId
DepartmentId

Department identifier

":
"{Integer}",
107
                    "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
108
               },
109
               "financeProject
FinanceProject

The finance project related to the item. One of the system/fixed account dimensions.

":
{
110
                    "financeProjectId
FinanceProjectId

Finance project identifier

":
"{Integer}",
111
                    "financeProjectLink
FinanceProjectLink

Finance project reference

":
"{String}"
112
               },
113
               "asset
Asset

The asset related to the item. One of the system/fixed account dimensions.

":
{
114
                    "assetId
AssetId

Asset identifier

":
"{Integer}",
115
                    "assetLink
AssetLink

Asset reference

":
"{String}"
116
               }
117
          },
118
          "forwardedFrom
ForwardedFrom

The preceding/previous/source item.

":
{
119
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
120
               "forwardedNetAmount
ForwardedNetAmount

The net amount forwarded to this item.

":
"{Decimal}",
121
               "forwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

":
"{Decimal}",
122
               "forwardedFromItem": {
123
                    "itemId
ItemId

Identifier of the object

":
"{Integer}",
124
                    "object": {
125
                         "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
128
                    },
129
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}"
131
               },
132
               "openForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

":
"{Decimal}",
133
               "forwardedToItems": [
134
                    {
135
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
136
                         "object": {
137
                              "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
140
                         },
141
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}"
143
                    }
144
               ]
145
          },
146
          "initialBacklogItem
InitialBacklogItem

Purchase order reference this goods reception item is created for

":
{
147
               "itemId
ItemId

Item-number of the object

":
"{Integer}",
148
               "object": {
149
                    "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
152
               },
153
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}"
155
          },
156
          "deviation": {
157
               "deviationId
DeviationId

Deviation identifier

":
"{Integer}",
158
               "deviationType": {
159
                    "database
Database

Database of the object

":
"{String}",
160
                    "deviationTypeId
DeviationTypeId

Deviation definition identifier

":
"{Integer}",
161
                    "category
Category

Type of deviation

Possible domain values can be found here

":
"{Integer}",
162
                    "goodsHandling
GoodsHandling

Specifies how the goods should be handled

Possible domain values can be found here

":
"{Integer}",
163
                    "accountingHandling
AccountingHandling

Specifies how accounting should handle the deviation

Possible domain values can be found here

":
"{Integer}",
164
                    "interCompanyHandling
InterCompanyHandling

Specifies how the deviation should be handled in the inter company trading.

Possible domain values can be found here

":
"{Integer}",
165
                    "landedCostCalculation
LandedCostCalculation

Specifies how landed cost should be calculated.

Possible domain values can be found here

":
"{Integer}",
166
                    "deviationTypeLink
DeviationTypeLink

Deviation definition reference

":
"{String}"
167
               },
168
               "deviationLink
DeviationLink

Deviation reference

":
"{String}",
169
               "stockAccrual": {
170
                    "stockAccrualId
StockAccrualId

Stock accrual identifier

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

Status of stock accrual

Possible domain values can be found here

":
"{Integer}",
172
                    "stockAccrualLink
StockAccrualLink

Stock accrual reference

":
"{String}"
173
               },
174
               "assignmentRegistertId
AssignmentRegistertId

Assignment register identifier

":
"{Integer}",
175
               "assignmentRegisterLink
AssignmentRegisterLink

Assignment register reference

":
"{String}",
176
               "notificationId
NotificationId

Notification identifier

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

Status of the notification

Possible domain values can be found here

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

Date and time of creation

":
"{Datetime}",
179
               "message
Message

The message from the notification definition, expanded with parameters.

":
"{String}",
180
               "translatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

":
"{String}",
181
               "notificationType": {
182
                    "notificationTypeId
NotificationTypeId

Notification type identifier

":
"{String}",
183
                    "category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

":
"{String}",
184
                    "notificationTypeLink
NotificationTypeLink

Notification type reference

":
"{String}"
185
               },
186
               "notificationLink
NotificationLink

Notification reference

":
"{String}"
187
          }
188
     }
189
}

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 100089 HTTP 404 Product not found
Error 100563 HTTP 400 Currency {0} is not supported by the system
Error 100012 HTTP 400 {0} must exist in {1}
Error 101999 HTTP 404 Bank account not found
Error 106413 HTTP 400 Period can't be changed as document is created from a transaction that is posted to a later period
Error 106414 HTTP 400 Period can't be changed as document is linked to a payment posted to period {0}
Error 101401 HTTP 400 The Ship and debit purchase quote must be in the same database as the stock assignment
Error 101047 HTTP 400 The purchase quote item has too low available quantity
Error 101400 HTTP 400 Supplier credit claim has been created from shipping advice
Error 102483 HTTP 400 Finance project is required for general ledger account {0}
Error 102484 HTTP 400 Asset is required for general ledger account {0}
Error 102485 HTTP 400 Dimension {0} ({1}) is required for general ledger account {2}
Error 101313 HTTP 400 Department number is not valid: {0}
Error 101320 HTTP 400 The project number is not valid: {0}
Error 101500 HTTP 400 Project {0} could not be used : Check project FromPeriod and ToPeriod.
Error 101501 HTTP 400 Asset is not allowed on general ledger account {0}
Error 101326 HTTP 400 The asset number is not valid : {0}
Error 102486 HTTP 400 Invalid value for dimension {0}