InvoiceXpress icon

InvoiceXpress

Consume InvoiceXpress via ix-proxy

Actions7

Credit Note → Create

AI-generated

Summary

Create a credit note in InvoiceXpress for a given owner invoice, with optional client details, tax exemption reason, observations, and line items (provided via UI or JSON).

Inputs

  • date (required) — Date of the credit note.
  • due_date (required) — Due date of the credit note.
  • owner_invoice_id (required) — ID of the invoice to which this credit note relates.
  • tax_exemption_reason — Tax exemption reason code (e.g., M00, M01).
  • observations — Additional observations.
  • client_id — Client ID.
  • client_name — Client name.
  • client_email — Client email.
  • client_fiscal_id — Client fiscal ID.
  • client_address — Client address.
  • client_postal_code — Client postal code.
  • client_country — Client country.
  • client_code — Client code.
  • client_city — Client city.
  • client_phone — Client phone.
  • itemsMode (required) — Whether to provide items via UI or JSON.
  • items (required) — Collection of items (each with description, name, quantity, tax_id, unit, unit_price). Visible when itemsMode is UI.
  • items_json (required) — Array of items in JSON format matching InvoiceXpress item structure. Visible when itemsMode is JSON.
  • requestOptions — Advanced request options like batching, SSL, proxy, timeout.
  • allowUnauthorizedCerts — Whether to accept invalid SSL certificates.
  • proxy — HTTP proxy to use.
  • timeout — Request timeout in milliseconds.

Output shape

object

The created credit note object as returned by the InvoiceXpress API.

Examples

Example 1: Simple credit note with one item

Provide date, due_date, owner_invoice_id, and at least one item (name, quantity, unit_price).

Links

Discussion