Weclapp icon

Weclapp

Interact with the Weclapp ERP/CRM API

Actions136

Sales Invoice → Create

AI-generated

Summary

Creates a Weclapp sales invoice for a customer, with optional invoice details, related record IDs, and custom attributes. Dry Run validates the payload through Weclapp’s business logic without saving changes.

Inputs

  • Dry Run — Defaults to false. When enabled, Weclapp validates the request but does not persist the invoice.
  • Fields — Optional invoice fields, including customer ID (described as required for creation), currency, payment and shipment settings, dates, amounts and discounts, invoice type, status, and related sales order, quotation, or invoice IDs. Fields shown with defaults are optional unless otherwise noted.
  • Custom Attributes — Optional custom attribute values for the sales invoice, when custom attributes are available in the Weclapp instance.

Output shape

A single created sales invoice record, or a validation success response when Dry Run is enabled.

The supplied source excerpt identifies the create implementation but omits its function body, so the exact response fields and dry-run response shape are not shown.

Links

Discussion