Invoices

Create invoice draft and generate PDF

Changed on

Creates a new invoice draft and immediately generates the invoice PDF in one call.

post/invoices/create-and-generate

Request

Request body

clientIdstring

Existing client id.

confirmDateboolean

Request-only, never stored: confirms an invoice date outside the current year.

Response

Created and generated

Changes

    • breaking

      added subschema #2 to the request body allOf list

    • breaking

      the request's body type changed from object to no type