Productive icon

Productive

Interact with the Productive API

Actions508

Invoices → Create an invoice

AI-generated

Summary

Create a new invoice in Productive using specified details such as company, subsidiary, invoice type, and document type IDs, along with optional invoiced date, currency, and issuer ID.

Inputs

  • Company ID (required) — Numeric ID of the company to which the invoice belongs.
  • Subsidiary ID (required) — Numeric ID of the subsidiary; required if the subsidiary feature is enabled in Productive.
  • Invoice Type ID (required) — Numeric ID of the invoice type, required if creating a credit note.
  • Document Type ID (required) — Numeric ID representing the document type for this invoice.
  • Invoiced On — Date and time when the invoice was issued.
  • Currency — Currency code to use for the invoice amounts.
  • Issuer ID — Numeric ID of the invoice issuer; if omitted, the invoice creator will be set as the issuer.

Output shape

a single record representing the created invoice, in JSON format

Returns the created invoice object from the Productive API; errors will be thrown if required fields are missing or invalid.

Discussion