Send order response
How to send a purchase order response to your buyer.
As a supplier you can send either a new or updated purchase order response to your buyer.
The order response should only contain order lines that are new or changed. Sending an unchanged order line could trigger an unexpected line status change in Tradecloud.
Order process
After sending an order response to Tradecloud the order lines process status may change:
When the order line has process status Issued
:
When
indicators.accepted
is set the process status will becomeConfirmed
When
indicators.rejected
is set the process status will becomeRejected
When the by supplier responded
delivery schedule
andprices
are equal to the by buyer requesteddelivery schedule
andprices
the process status will becomeConfirmed
When the responded
delivery schedule
andprices
are NOT equal to the requesteddelivery schedule
andprices
the process status will becomeInProgress
and a proposal task for the buyer will be created.
When the order line has process status InProgress
:
When
indicators.accepted
is set the process status will becomeConfirmed
When
indicators.rejected
is set the process status will becomeRejected
When the by supplier responded
delivery schedule
andprices
are equal to the by buyerrequested
delivery schedule
andprices
the process status will becomeConfirmed
When the responded
delivery schedule
andprices
are NOT equal to the requesteddelivery schedule
andprices
the process status will stayInProgress
.
When the order line has process status Confirmed
:
When the by supplier responded
delivery schedule
andprices
are NOT equal to the confirmeddelivery schedule
andprices
the process status will becomeInProgress
and a reopen request task for the buyer will be created.When the responded
delivery schedule
andprices
are equal to the confirmeddelivery schedule
andprices
the process status will stayConfirmed
When the order line already has process status Rejected
the process status will NOT change.
When the order line already has process status Completed
the process status will NOT change.
When the order line already has process status Cancelled
the process status will NOT change.
Endpoint
Order
companyId
: the optional Tradecloud company identifier. You only have to provide a companyId when your integration user account has multiple company authorization.buyerAccountNumber
: the buyer account number as known in your ERP system.
The buyerAccountNumber
should be set in the Tradecloud connection in the portal, after the connection request has been accepted by the other party.
purchaseOrderNumber
: the purchase order number as sent by the buyer.contact.email
: the supplier employee responsible for this order. The user with this email address should be active in Tradecloud.
buyerAccountNumber
and contact.email
should be unique within your company and never change. Never renumber or re-use numbers or code's.
Other order fields
description
: a free format additional description of this order.indicators.accepted
: explicitly accept the order as is, the responded linesdelivery schedule
andprices
will be ignored.indicators.rejected
: explicitly reject the order, the responded linesdelivery schedule
andprices
will be ignored.Additional
indicators
:
properties
: are key-value based custom fields. You can use as many as needed, but too many will clutter the portal. Use for a new line in the value.notes
: are simple custom fields. You can use as many as needed, but too many will clutter the portal. Use for a new line.
Lines
lines
: a purchase order response contains one or multiple lines. A purchase order line contains at least the position and delivery schedule. It is structured as a JSON element in thelines
JSON array.purchaseOrderLinePosition
: the line position within the purchase order.
The supplier must echo the purchaseOrderLinePosition
as sent by the buyer.
Item
Item Details
lines.itemDetails
: detailed part information changed by the supplier.
countryOfOriginCodeIso2
: The ISO 3166-1 alpha-2 country code of manufacture, production, or growth where an article or product comes from.combinedNomenclatureCode
: A tool for classifying goods, set up to meet the requirements both of the Common Customs Tariff and of the EU's external trade statistics.netWeight
: Net weight of one item.netWeightUnitOfMeasureIso
: Net weight unit according to ISO 80000-1.dangerousGoodsCodeUnece
: UN numbers or UN IDs are four-digit numbers that identify dangerous goods, hazardous substances and articles in the framework of international transport.serialNumber
: is an unique identifier assigned incrementally or sequentially to an item, to uniquely identify it.batchNumber
: is an identification number assigned to a particular quantity or lot of material from a single manufacturer
Responded delivery schedule
lines.deliverySchedule
: the responded delivery schedule. At least one delivery schedule line must be provided.position
: an optional position in the delivery schedule, distinct fromline.position
.
The supplier must either echo the
position
as received from the buyer or leave it empty.When sending a new split delivery line, do not provide a
position
; the buyer will assign it.If
position
is left empty, the supplier must preserve the order of the original delivery schedule sent by the buyer.Any new split delivery line should be appended to the end of the delivery schedule.
lines.deliverySchedule
:quantity
: the responded quantity of this delivery schedule position. If the quantity that can be delivered is yet unknown, leave this quantity empty. If the quantity is not equal to the requested quantity, when possible provide areason
, see below. Quantity has a decimal1234.56
format with any number of digits.
Responded prices
lines.prices
: the responded price. Advised is to provide onlynetPrice
for its simplicity, or alternativelygrossPrice
together withdiscountPercentage
.grossPrice
: the gross price. Used together withdiscountPercentage
.discountPercentage
: the discount percentage. Used together withgrossPrice
.netPrice
: the net price.priceInTransactionCurrency
: at least provide a price in the transaction currency, likeCNY
in China.value
: the price value has a decimal1234.56
format with any number of digits.currencyIso
: the 3-letter currency code according to ISO 4217, likeEUR
,USD
andCNY
.
priceInBaseCurrency
: optionally provide a price in your base currency, likeEUR
in the EU.value
: the price value has a decimal1234.56
format with any number of digits.currencyIso
: the 3-letter currency code according to ISO 4217, likeEUR
.
priceUnitOfMeasureIso
: the price unit according to ISO 80000-1. The purchase unit and price unit may be different.priceUnitQuantity
: the item quantity at which the price applies. Typically this is 1 (unit price) or 100 (the price applies to 100 items)
Responded charge lines
lines.chargeLines
: the requested additional cost lines of an order line, independent of the order line prices, like transport, packing, administration, inspection and certification costs.position
: the position used to identify a charge line.
The supplier must echo the
position
as received from the buyer.When sending a new charge line, do not provide a
position
; the buyer will assign it.
lines.chargeLines
:chargeDescription
: a mandatory free text description, like "Transport costs".quantity
: the mandatory quantity of this charge line.price
: the mandatory price of this charge line.priceInTransactionCurrency
: the mandatory price in the transaction currency of the supplier, likeCNY
in China.value
: the price value has a decimal1234.56
format with any number of digits.currencyIso
: the 3-letter currency code according to ISO 4217, likeEUR
,USD
andCNY
.
priceInBaseCurrency
: the optional price in your base currency, likeEUR
in the EU.value
: the price value has a decimal1234.56
format with any number of digits.currencyIso
: the 3-letter currency code according to ISO 4217, likeEUR
.
priceUnitOfMeasureIso
: the 3-letter price unit according to ISO 80000-1 which applies to the charge line price.
Other line fields
description
: a free format additional description of this lineindicators.accepted
: explicitly accept the order line as is, the respondeddelivery schedule
andprices
will be ignored.indicators.rejected
: explicitly reject the order line, the respondeddelivery schedule
andprices
will be ignored. When possible provide thereason
, see below.Additional
indicators
:
properties
: are key-value based custom fields. You can use as many as needed, but too many will clutter the portal. Use for a new line in the value.notes
: are simple custom fields.You can use as many as needed, but too many will clutter the portal. Use for a new line.reason
: optional reason in case:the order line is rejected
the responded
delivery schedule
andprices
are NOT equal to the requested or confirmeddelivery schedule
andprices
Order response meta data
erpRespondedBy
: the user email or user name as known in your ERP system who responded this order
Response
When the /api-connector/order-response
API method returns HTTP status code 200, the order response was successfully queued for processing by Tradecloud. Processing takes usually less then a second, after which the order response is available in the portal and is forwarded to the buyer ERP integration.
Last updated