academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Invoice-number-settings [Beta] → Update invoice number setting

AI-generated

Summary

Updates the invoice number setting identified by invoiceNumberSettingId through the academyFIVE API. Provide the required data object with its type, id, and attributes; the attributes can include an invoice number template, invoice position template, default flag, or site ID.

Inputs

  • invoiceNumberSettingId (required) — Unique identifier of the invoice number setting to update; appended to /api/v1/invoice-number-settings/ in the request URL.
  • data (required) — Request data object. Its type and id fields are required, and it must contain attributes.
  • data.attributes.invoiceNumberTemplate — Invoice number template to set.
  • data.attributes.invoicePositionTemplate — Invoice position template to set.
  • data.attributes.isDefault — Whether to mark this setting as the default; defaults to false in the UI.
  • data.attributes.siteId — Site ID to set.

Output shape

A list of JSON items from the API response, paired with their corresponding input items.

The node sends the configured request using academyFIVE API credentials and returns the response as JSON items. With Continue On Fail enabled, a failed input produces an item containing an error field.

Links

Discussion