Skip to main content
Markdown

Orders to Be Matched (for Order Confirmations and Invoices)

Master data for validating associated orders. Workist can recognise the order reference on order confirmations and invoices and match the document against the provided order data. Workist prefills order confirmations without line items from the order data, and after every successful import it matches open order confirmations again. Matching with order and quote data describes which values Workist compares and what happens on deviations.

Column Description​

Required: Workist cannot use the record without this column. Recommended: significantly improves recognition. The import itself does not check columns: if a column is missing, the field stays empty.

Header Level​

#Field NameStatusDescription
1partition_idRecommendedclient_id1 of the business partner (for order confirmations and invoices usually the supplier). Not mandatory, but very strongly recommended so that only this partner's orders can be selected.
2order_numberRequiredOrder number that the document refers to
3external_referenceOptionalSecond reference of the order, e.g. your business partner's order number. Workist searches order_number and external_reference alike.
4order_dateOptionalOrder date
5delivery_addressOptionalDelivery address number (address_id1 from the delivery and invoice recipients)
6receiver_numberOptionalNumber of the buyer or invoice recipient (client_id1 from the channel's receiver list)
7order_total_priceOptionalTotal net value of the order
8ibanOptionalIBAN to be paid to. Invoices only.
9swiftOptionalBIC. Invoices only.
10accountOptionalPayment reference. Invoices only.
11payment_terms_typeOptionalPayment terms. Invoices only.
12payment_terms_discountOptionalCash discount. Invoices only.
13payment_terms_due_daysOptionalPayment due in days. Invoices only.

Line Item Level​

Workist can also match order confirmations and invoices at line item level. For this purpose, the header fields must be repeated for each line item.

#Field NameStatusDescription
1position_numberRecommendedLine item number
2article_id1OptionalArticle number. Leave empty for text items (items without a material).
3article_id2OptionalAlternative article number 2
4article_id3OptionalAlternative article number 3
5article_descriptionOptionalArticle description
6article_priceOptionalPrice, per price unit (price_unit)
7price_unitOptionalPrice unit of the price, e.g. 1 or 100 (price per 100). Not to be confused with the quantity unit (unit, e.g. PCE or KG).
8quantityRecommendedQuantity
9unitOptionalUnit
10total_priceOptionalTotal price of the line item
11delivery_dateOptionalDelivery date of the line item. For order confirmations, Workist also compares it with the delivery date in the header.
12extra_dataOptionalAdditional information as a JSON object, e.g. {"Brand": "Sample"}. Workist stores it with the record and shows it in the data explorer. By default, Workist does not use it for recognition.

Workist stores prices, quantities and amounts (article_price, quantity, total_price, order_total_price) with at most two decimal places; further digits are rounded. For prices with more decimal places, give the price per 10, 100 or 1000 pieces and set price_unit accordingly.

Format​

Columns that are not needed can be omitted from the data export.

Example file name: 20240315_order_list.csv. So that Workist always imports the newest file, use the file name pattern %Y%m%d_order_list.csv in the import configuration.

partition_id;order_number;order_date;position_number;article_id1;quantity
K001;ORD-2024-0042;2024-03-15;1;ART001;10
K001;ORD-2024-0042;2024-03-15;2;ART002;5
K002;ORD-2024-0043;2024-03-16;1;ART003;2

The example uses ; as delimiter. Set the delimiter in the import configuration; without a setting, Workist expects a comma.

Write dates as YYYY-MM-DD or with the day first (31.12.2024), see How Workist normalises values during the import.

Via the API you send the same columns as a CSV file or as JSON. Endpoint: Swagger, basics: Using the Master Data API.