Actions136
- Accounting Transaction Actions
- Article Actions
- Article Category Actions
- Comment Actions
- Currency Actions
- Document Actions
- Incoming Goods Actions
- Manufacturer Actions
- Party (Customer / Contact) Actions
- Purchase Invoice Actions
- Purchase Order Actions
- Quotation Actions
- Sales Invoice Actions
- Sales Open Item Actions
- Sales Order Actions
- Shipment Actions
- User Actions
- Variant Article Actions
- Warehouse Stock Actions
- Warehouse Stock Movement Actions
Sales Invoice → Create
AI-generatedSummary
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.