FlexPoint icon

FlexPoint

Interact with FlexPoint API

Invoices → Create invoice record.

AI-generated

Summary

Create a new invoice record in the FlexPoint system by specifying mandatory fields and optional additional details.

Inputs

  • Status (required) — Select the invoice status, such as Draft, Posted, Paid, Processing, or Void.
  • Customer Id (required) — Provide the numeric ID of the customer associated with the invoice.
  • Additional Fields — Optionally include extra invoice details like external URI, invoice and due dates, company name, customer message, document number, PO number, contract, billing address details, auto process flag, metadata, and line items.
  • Options — Configure request behavior including custom request body JSON, custom HTTP headers, query-string filters, batching controls, debug output, pagination handling, and request timeout.

Output shape

a single record representing the created invoice.

The output JSON contains the API response of the created invoice record. Enabling debug adds the actual request details under a debug entry within the output JSON. Errors throw a NodeOperationError unless workflow is set to continue on fail, in which case errors appear in the output JSON per item.

Examples

Example 1: Create a draft invoice for customer ID 123 with due date and line items

Set Status to Draft, Customer Id to 123, optionally specify Dt Due and Line Items in Additional Fields to define invoice specifics.

Links

Discussion