Skip to main content

Importing an order from a document

Got the order as an invoice, a photo of a list, or a message from a buyer? Let Restock read it instead of typing it in. Import from document finds the devices in it — with their IMEIs or serials, condition and price where the document gives them — and adds them to the order you're working on. Nothing is saved until you create the order yourself, so you always get to check it first.

It works on both buy orders and sell orders.

What you need​

  • The Basic or Pro plan. On the Free plan the tile reads Upgrade to unlock. See Subscription and Billing.
  • Permission to manage buy orders (for a buy order) or sell orders (for a sell order).

Read a document​

  1. Open the order:
    • Buy order — go to the Devices step and pick the Import from document tile under Add a device.
    • Sell order — go to the Items step and pick Import from document, next to Paste IMEIs / Serials.
  2. Either:
    • Upload a PDF or image — a PDF up to 10 MB and 100 pages, or a PNG, JPEG or WebP image up to 5 MB. A clear phone photo of a printed invoice works; or
    • Or paste the text — an invoice, order or chat message, up to 50,000 characters.
  3. Click Read document. Restock shows Reading document… while it works, which can take up to a few minutes for a long document. You can't close the window by clicking outside it while it's reading, so a stray click won't lose the import — Close still works if you want to stop.

Check what it found​

Restock shows a summary before anything goes into your order:

  • Customer — the supplier or buyer named on the document. It reads Customer: … when it matches one of your existing customers, or Customer on document: … when it doesn't.
  • Document reference — the invoice or order number, if the document has one.
  • N device lines found — every line it read, as it appears on the document. A line marked Invalid IMEI has a number that fails the IMEI check digit; fix it on the order after adding.
  • Any warnings, such as unreadable pages, prices that exclude tax, or mixed currencies.

If nothing in the document looks like a device, you'll see Couldn't find any devices in this document.

On a sell order​

A sell order can only contain items you already have, so Restock checks your stock straight away:

  • Matched by IMEI or serial — items in your inventory whose IMEI or serial is on the document.
  • Not in stock — IMEIs or serials on the document that aren't in your available inventory.
  • For lines that name a model but no IMEI or serial, Restock suggests matching units from your stock, already ticked. Untick any you don't want to sell. If you don't have enough, it says Only 2 of 5 in stock (or Nothing in stock).

Add it to the order​

Click Add to order. Restock:

  • Buy order — adds each device as an entry, with the cost, condition and details from the document. A line with a quantity above one becomes a group, with the document's IMEIs or serials filled in and blank rows for any it didn't list. If a device is already on the order, you're asked whether to add it again; anything you decline is counted in N devices were not added.
  • Sell order — selects the matched items and the suggestions still ticked, with the price from the document as the sale price where it gives one. Set any missing prices as usual.
  • Selects the Customer if it matched one of yours.
  • Fills External Order ID with the document reference — only if that field is empty, so it never overwrites one you typed.

Then carry on with the order as normal, and check every entry before you create it. Reading a document is a head start, not a replacement for a look over the order.

Monthly limit​

Each document you read counts toward your organization's monthly allowance — 25 on Basic and 250 on Pro. A read counts even when it finds no devices or fails, so check you've picked the right file first. When the allowance is used up, Restock shows You've used 25 of 25 document imports this month. It resets at the start of each calendar month.

What happens to your document​

Restock uses an AI model to read the document. The uploaded file is deleted as soon as it has been read. The list of lines it found is kept for 90 days, then deleted. Pasted text is kept out of error messages and server logs.