Pennylane icon

Pennylane

Interact with Pennylane accounting API

Customer Invoice → Create

AI-generated

Summary

Create a new customer invoice in Pennylane accounting system by specifying the invoice date, customer ID, and optional detailed invoice lines along with additional invoice fields.

Inputs

  • Date (required) — The invoice date, sent with only the date portion (YYYY-MM-DD) to Pennylane.
  • Customer ID (required) — The identifier of the customer for whom the invoice is created.
  • Invoice Lines — Multiple line items each including label, unit, quantity, unit price (in cents), and VAT rate percentage.
  • Additional Fields — Optional fields including currency code (ISO 4217), payment deadline (date only), discount amount, whether the invoice is already paid, and special mention text to display on the invoice.

Output shape

a single JSON object representing the created customer invoice record returned from Pennylane

The output JSON includes all resulting invoice properties as returned from Pennylane's API after creation. No pagination applies since this is a create operation.

Discussion