Skip to content

Customer files · How-to guide

Set up a customer file

Learn how to turn a customer's sample export into a saved mapping and send the first file.

Use this guide when a customer wants to send invoices as an export from their own system. You answer the setup questions, turn a sample export into a saved mapping card, and send the first file through it.

Before you start

  • You are signed in to the console as a person on the customer’s workspace.
  • You have sample exports from the customer: one or more CSV, Excel (.xlsx, .xlsm), JSON, XML, SAP IDoc or EDIFACT files of the same export, at most 10 MB together.
  • The samples together contain every kind of value the customer uses: several invoices, several lines, each VAT rate, and a credit note if they send them.
  • A PDF the customer’s system printed, with its words as text, also works as one sample. Its card reads every later PDF of that layout, once the profiler finds its line table.
  • A scan or a photo (PNG, JPEG or TIFF) works as one sample only to show where each field sits on the page, and so does a PDF whose line table was not found. Such a draft is never saved: the screen says it goes through Cipher Review.
  • Before you upload the samples, choose Live or Sandbox in the environment menu. The card is saved for the company you are working in. The menu shows this switch once setup is saved.

Step 1: Answer the setup questions

Open /setup. A new customer who follows /signup signs in and lands here too. Until setup is saved, every other console page sends you back here, and the menu offers only sign out.

  1. Which invoices: choose Send invoices, or Both if the customer also receives invoices. Germany is ticked below it, and it is the only country served today. Tick another country only if the customer also invoices there. Choose Continue.
  2. Workflow: choose Export from existing software, then Continue.

The last answer saves the setup. A short screen says it is taking you to Convert, and then the Convert page opens on a new conversion, with the menu unlocked. If the save fails, the screen says so; choose Try again.

  • Your answers are remembered in this browser while you work. If you come back later, the wizard opens on the step you left and offers to discard the draft.
  • The answers change no setting.
  • The wizard does not ask for the customer’s own company details. The sign-up asked for the company, and until seller details are saved in Settings, a mapping fills the seller fields the export leaves empty from it. Add the contact and the electronic address in Settings, on the Company tab, under Company details.

Step 2: Make the mapping

Choose New from file on the Mappings page, /mappings. Or drop the file on the Convert page, /convert: when no saved mapping reads it, Convert says so and offers Create a mapping from this file. When the file cannot be analysed, a notice says why instead, and no mapping is offered. Either way the draft opens in its editor, /mappings/<id>. A draft you left is listed on top of the Mappings page; Open continues it. Then you:

  1. upload the samples, which give one draft
  2. decide every field and column left open: an EDIFACT or SAP IDoc file starts from its standard mapping, so only the places it does not read are open; any other file starts from the profiler’s proposals
  3. give the customer’s own codes a meaning
  4. fill the fields the invoice needs but the file does not have
  5. check the invoice preview
  6. let the test run on every sample
  7. save the mapping

Map a sample export walks through each of these.

When a sample is refused, a field needs a particular answer, or Save and convert does not save, see Fix a sample that will not map.

Step 3: Send the first file

Upload the customer’s first real file on Outbound, /invoices?direction=out. The console reads its bytes, and an export goes through the one card that reads that file: the card whose columns the file has. Dropping it on Convert does the same: a file a saved mapping reads converts there, and no draft opens. The saving step already converted the sample you mapped. To name the version yourself, use Send file through mapping on /batches. A PDF goes through the one card that reads PDFs.

Either way, the file goes to POST /v1/conversions with input.type set to mapped-file, as Convert a file through a mapping describes. One file may produce one invoice or many; the route and result shape stay the same.

If the file is refused, the message says why: for example, a value the card cannot convert, or a code the card does not know. A new code is answered on a new version of the card. A file whose dates or amounts are now written another way is held, and the new way is confirmed once on the card’s next version, as Confirm values written another way shows. If the file’s layout has changed, the console opens the Convert page with the new file and that card, as Handle a file that no longer fits describes. A file of a layout no card knows opens the Convert page to teach it once.

See also

Navigation

Type to search…

↑↓ navigate↵ selectEsc close