Procurement APIs
Creats imported supplier invoice line for the provided identifier
| HTTP method | POST |
| URI | https://api.rambase.net/procurement/imported-invoices/{importedSupplierInvoiceId}/items |
| Supported formats | Xml, Html, Json (ex. $format=json) |
| - URI parameter {importedSupplierInvoiceId} |
Imported supplier invoice identifier
Integer, minimum 100000 |
| Successful HTTP status code | 201 |
| API resource identifier | 2819, 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.
ImportedSupplierInvoiceItem
This field is optional.
>Quantity
Quantity
This field is optional.
>{Decimal}</Quantity>SuppliersReference
Supplier invoice line reference
This field is optional.
>{String}</SuppliersReference>VATPercent
VAT percent
This field is optional.
>{Decimal}</VATPercent>Product
This field is optional.
>Name
Name of product
This field is optional.
>{String}</Name>SuppliersIdentification
An identifier or name, assigned by the supplier, for the product
This field is optional.
>{String}</SuppliersIdentification>BuyersIdentification
An identifier or name, assigned by the buyer, for the product
This field is optional.
>{String}</BuyersIdentification>Description
Product description
This field is optional.
>{String}</Description>ProductReference
This field is optional.
>ProductId
RamBase product identificator
Minimum value: 10000
This field is optional.
>{Integer}</ProductId>Price
This field is optional.
>GrossPrice
Represents the price per unit before any discounting is applied.
This field is optional.
>{Decimal}</GrossPrice>Totals
This field is optional.
>GrossAmount
Represents the item amount before any discounts etc. is applied.
This field is optional.
>{Decimal}</GrossAmount>ImportedSupplierInvoiceItem
This field is optional.
": {Quantity
Quantity
This field is optional.
": "{Decimal}",SuppliersReference
Supplier invoice line reference
This field is optional.
": "{String}",VATPercent
VAT percent
This field is optional.
": "{Decimal}",Product
This field is optional.
": {Name
Name of product
This field is optional.
": "{String}",SuppliersIdentification
An identifier or name, assigned by the supplier, for the product
This field is optional.
": "{String}",BuyersIdentification
An identifier or name, assigned by the buyer, for the product
This field is optional.
": "{String}",Description
Product description
This field is optional.
": "{String}",ProductReference
This field is optional.
": {ProductId
RamBase product identificator
Minimum value: 10000
This field is optional.
": "{Integer}"Price
This field is optional.
": {GrossPrice
Represents the price per unit before any discounting is applied.
This field is optional.
": "{Decimal}"Totals
This field is optional.
": {GrossAmount
Represents the item amount before any discounts etc. is applied.
This field is optional.
": "{Decimal}"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] |
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.
ImportedSupplierInvoiceItemId
Identificator of the imported supplier invoice item (ISI)
>{Integer}</ImportedSupplierInvoiceItemId>Status
Status of the imported supplier invoice item
Possible domain values can be found here
>{Integer}</Status>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>Quantity
Quantity
>{Decimal}</Quantity>SuppliersReference
Supplier invoice line reference
>{String}</SuppliersReference>VATPercent
VAT percent
>{Decimal}</VATPercent>Name
Name of product
>{String}</Name>SuppliersIdentification
An identifier or name, assigned by the supplier, for the product
>{String}</SuppliersIdentification>BuyersIdentification
An identifier or name, assigned by the buyer, for the product
>{String}</BuyersIdentification>Description
Product description
>{String}</Description>MatchingRule
Rule which is used for RamBase product matching
Possible domain values can be found here
>{String}</MatchingRule>ProductId
RamBase product identificator
>{Integer}</ProductId>Name
Name of the product
>{String}</Name>ProductLink
Product reference
>{String}</ProductLink>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>GrossPrice
Represents the price per unit before any discounting is applied.
>{Decimal}</GrossPrice>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>GrossAmount
Represents the item amount before any discounts etc. is applied.
>{Decimal}</GrossAmount>ImportedSupplierInvoiceItemId
Identificator of the imported supplier invoice item (ISI)
": "{Integer}",Status
Status of the imported supplier invoice item
Possible domain values can be found here
": "{Integer}",CreatedAt
Date and time of creation
": "{Datetime}",Quantity
Quantity
": "{Decimal}",SuppliersReference
Supplier invoice line reference
": "{String}",VATPercent
VAT percent
": "{Decimal}",Name
Name of product
": "{String}",SuppliersIdentification
An identifier or name, assigned by the supplier, for the product
": "{String}",BuyersIdentification
An identifier or name, assigned by the buyer, for the product
": "{String}",Description
Product description
": "{String}",MatchingRule
Rule which is used for RamBase product matching
Possible domain values can be found here
": "{String}",ProductId
RamBase product identificator
": "{Integer}",Name
Name of the product
": "{String}",ProductLink
Product reference
": "{String}"Currency
Three character code following the ISO 4217 standard
": "{String}",GrossPrice
Represents the price per unit before any discounting is applied.
": "{Decimal}"Currency
Three character code following the ISO 4217 standard
": "{String}",GrossAmount
Represents the item amount before any discounts etc. is applied.
": "{Decimal}"
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 101079 HTTP 400 | Mismatch in size of revision parameters |