Actions196
- Address Actions
- Contact Actions
- Credit Note Actions
- Customer Actions
- Delivery Note Actions
- Delivery Terms Actions
- Employee Actions
- Goods Receipt Actions
- Invoice Actions
- Liability Actions
- Offer Actions
- Payment Method Actions
- Payment Terms Group Actions
- Production Actions
- Product Actions
- Proforma Invoice Actions
- Project Actions
- Purchase Order Actions
- Purchase Price Actions
- Return Actions
- Sales Channel Actions
- Sales Order Actions
- Sales Price Actions
- Shipment Actions
- Shipping Method Actions
- Storage Location Actions
- Supplier Actions
- Tag Actions
- Warehouse Actions
- Webhook Actions
Invoice → Create
AI-generatedSummary
Create a new invoice in Xentral by specifying the required Customer ID and optional additional invoice details.
Inputs
- Customer ID (required) — The ID of the customer (business contact) used as address.id in the API.
- Additional Fields — Optional collection of fields including body introduction and closing text, cost center, currency, customer order number, delivery date and terms, deviating debtor account number, document address override, document date, dunning settings, editor ID, internal comment and designation, language, master reference number, print settings, project ID, sales representative ID, tags, taxation type, alternative document title usage, and VAT ID.
Output shape
A single record containing details of the created invoice as returned by the Xentral API.
The output includes all invoice properties provided or set by the API, wrapped in a single JSON object. Errors from the API are returned as failure responses.
Examples
Example 1: Create invoice with mandatory customerId and optional fields like currency and internal comment.
Set Customer ID to the target customer's ID, optionally fill additional fields such as currency to 'EUR' and internalComment with notes.