Skip to content

Importing Line Items

To import line items, you must provide a CSV file containing the required line item information.

The available columns for this table are:

ColumnDescription
quantityRequired. Numeric. Greater than 0 and less than 10,000,000.
priceRequired. Numeric. Greater than 0 and less than 10,000,000.
costRequired. Numeric. Greater than 0 and less than 10,000,000.
batch_numberOptional. Maximum 50 characters.
order_idOptional. The database ID (UUID) of an existing order.
order_numberOptional. The order number of an existing order. Bridge Column.
item_idOptional. The database ID (UUID) of an existing item.
item_codeOptional. The code of an existing item. Bridge Column.

Order

An order is required for every line item.

You can specify the order using either:

  • order_id
  • order_number

If both columns are provided, order_id takes precedence.

The order_number column acts as a bridge column, allowing you to import data without needing to know the database IDs generated by Quick Docket in advance.

Item

An item is required for every line item.

You can specify the item using either:

  • item_id
  • item_code

If both columns are provided, item_id takes precedence.

The item_code column acts as a bridge column, allowing you to import data without needing to know the database IDs generated by Quick Docket in advance.

Example CSV

All columns

csv
quantity,price,cost,batch_number,order_id,order_number,item_id,item_code
10,12.50,8.00,SUMMER2026,550e8400-e29b-41d4-a716-446655440000,ORD001,660e8400-e29b-41d4-a716-446655440000,ITEM001

Required columns and bridge columns

csv
quantity,price,cost,batch_number,order_number,item_code
10,12.50,8.00,SUMMER2026,ORD001,ITEM001