FlexPoint icon

FlexPoint

Interact with FlexPoint API

Invoices → Create invoice item record.

AI-generated

Summary

Create an invoice item record by specifying the invoice ID and item details such as part number, description, quantity, unit price, and discount amount.

Inputs

  • id (required) — The unique identifier of the invoice to which the item will be added.
  • partNum (required) — The part number of the invoice item.
  • description (required) — A description of the invoice item.
  • qty (required) — The quantity of the invoice item.
  • unitPrice (required) — The unit price of the invoice item.
  • discountAmount (required) — The discount amount applied to the item.
  • options — Optional settings including custom JSON body to merge with standard fields, custom HTTP headers, query string filters, batching configuration, debug option to include request details, pagination settings (not typically used for create operations), and request timeout in milliseconds.

Output shape

a single JSON object representing the created invoice item record

The operation returns the newly created invoice item record as JSON. If debug is enabled, the output also includes a debug entry with the actual URL, query parameters, headers, and body of the API request. Errors will throw exceptions unless the node is configured to continue on fail, in which case errors are included in the output as JSON with an error message.

Links

Discussion