Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Supported file formats

Gini supports the following file formats:

  • PDF files,

  • GIF files (non-animated),

  • PNG files,

  • JPEG files,

  • TIFF files as well as plain text formats (including parsed QR codes).

You can use native documents (PDF only) and scanned documents (all other supported formats).

...

Pages that are part of the document are referred to as partial documents. If you want to upload a page (or a page picture) that belongs to the document, your request header should additionally include Content-Type field with application/vnd.gini.v1.partial+png value or application/vnd.gini.v1.partial+pdf in case of PDF page. See the examples below.

In case you want to submit a parsed QR code, please use application/vnd.gini.v1.partial+qr+json. The parsing of the QR fields is optional. The paymentdata needs to contain at least the iban and the paymentRecipient keys. Hence, the minimal valid QR code body could be the following:

...

See the complete QR request example below.

Request

In order to upload a page picture or a partial document, specify a different content type:

...