title: Unable to match all required fields. invoice2data
body: <p>I'm trying to  create templates and have the data with invoice2data but that gives me this error</p>
  <pre><code>regexp for field amount didn't match
  regexp for field amount_untaxed didn't match
  regexp for field date didn't match
  Unable to match all required fields. The required fields are: ['date', 'amount', 'invoice_number', 'issuer']. Output contains the following fields: ['vat', 'issuer', 'currency', 'invoice_number'].
  </code></pre>
  <p>I searched on my template template.yaml and i have all these fields</p>
  <p>there is my template:</p>
  <pre><code># -*- coding: utf-8 -*-
  issuer: Online SAS / Scaleway
  fields:
    amount: (Total.*)\w+
    amount_untaxed: (Total.*)\w+
    date: (Date.*)\w+
    invoice_number: Facture n\W\s+(\d+)
    static_vat: FR35433115904
  keywords:
    - Sosh
    - Orange
    - Votre facture mobile
  options:
    currency: EUR
    date_formats:
      - '%B %d, %Y'
    decimal_separator: ','
  </code></pre>
  <p>I tried with a second example &quot;pdf2.pdf&quot; and it gives me</p>
  <pre><code>Syntax Error (69926): No current point in closepath
  Syntax Error (69950): No current point in closepath
  Syntax Error (69970): No current point in closepath
  </code></pre>
  <p>I searched on internet and i didn't see any answer.
  Can someone explains me the problem</p>
  <p>Thanks for your answer and sorry for my english.</p>