Zoho Books icon

Zoho Books

Interact with Zoho Books API

Actions16

Invoice → Update

AI-generated

Summary

Updates an existing Zoho Books invoice by ID using PUT /invoices/{invoiceId}.

Inputs

  • Organization ID (required) — Zoho Books organization_id; sent as the organization_id query parameter.
  • Invoice ID (required) — ID of the invoice to update; used as the invoice ID in the PUT /invoices/{invoiceId} endpoint.
  • Body (JSON) — Raw invoice payload as a JSON object. Optional, but must be a valid JSON object if provided. This is the base body onto which other fields are merged.
  • Extra Body Fields — Arbitrary API key/value pairs to add to or override fields in the body. Field name is the API key; value is sent as a string.
  • Mapped Fields (Dropdown) — Common invoice fields chosen from a dropdown (customer_id, invoice_number, date, due_date, status, reference_number, currency_code, exchange_rate, discount, discount_type, pricebook_id, notes, terms, allow_partial_payments, billing_address, shipping_address). Values are sent as strings.
  • Custom Fields — Custom fields to add as body.custom_fields. Each entry is sent as { label:

Output shape

The raw Zoho Books API response object from the PUT request, typically containing the updated invoice under response.invoice. If continue-on-fail is enabled, failed items return { error: error.message }.

The node does not fetch the current invoice before updating; it sends the assembled body as-is. Each input item is processed independently.

Examples

Example 1: update_invoice

n8n-nodes-zoho-books-community

Links

Discussion