SalamCRM icon

SalamCRM

Interact with SalamCRM API

Actions92

Invoice → Invoices_Update

AI-generated

Summary

Update an existing invoice in SalamCRM by specifying its numeric ID and providing the invoice data as a JSON object.

Inputs

  • id (required) — Numeric ID of the invoice to update, passed as a path parameter.
  • body (required) — JSON object representing the updated invoice data (InvoiceEditDto), including fields such as Id, Number, Date, CustomerId, and Items.

Output shape

A single record containing the updated invoice data as returned by the SalamCRM API.

The updated invoice record is returned as a JSON object. Errors are thrown if required path parameters are missing. The output corresponds to the API response from the PUT /api/invoices/{id} endpoint.

Discussion