Invoices

Generate invoice PDF

Changed on

Generates an invoice PDF and returns a file URL (typically in result.url).

post/invoices/{id}/generate

Request

Request body

locale'de' | 'en' | 'fr' | 'it' | 'null' nullable
testModeboolean
versionstring

PDF generator version, default v1l.

Response

Generated

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property's minLength was increased from 0 to 2

    • breaking

      added the pattern ^(?:v\d+[a-z]*)$ to the request property

    • warning

      the request property's maxLength was set to 16

    • info

      added the new optional request property /

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property default value false was removed

    • info

      the request property default value v1l was removed

    • info

      added the new de enum value to the request property

    • info

      added the new en enum value to the request property

    • info

      added the new fr enum value to the request property

    • info

      added the new it enum value to the request property

    • info

      added the new undefined enum value to the request property