Skip to content

Holded Invoice Component

Holded Invoice Component connects your flow to the invoicing module of your Holded account. With a single component you can work with your contacts, products and services, with sales and purchase documents (invoices, estimates, orders, delivery notes…), with payments, and with the settings that go with them: treasury accounts, expense accounts, numbering series, sales channels, warehouses, taxes and remittances.

It is useful to get sales, customers and payments that start in other systems into Holded without typing them, or to let an AI agent look up invoices and customers.

When to use it

  • A customer signs up in your online shop and you want to add them as a contact in Holded.
  • An invoice is ready in Holded and you want to email it to the customer as soon as the order is confirmed.
  • You want a weekly report with the invoices issued in a period.
  • An AI agent serves your customers and needs to look up their invoices or a warehouse’s stock.
  • You record payments in another tool and want them in Holded too.

Configuration

You need a Holded Task API credential with your Holded account’s API key. See Credentials.

FieldWhat it does
Credential (required)The Holded Task API credential used to access your account.
ResourceThe kind of data you work with. See Resources and operations. Default: Treasury Accounts.
OperationWhat you do with that data. The list changes with the chosen Resource.

When you choose the resource and the operation, the component shows only the fields that operation needs. All of them are required unless stated otherwise.

Resources and operations

Contacts (customers, suppliers and other contacts)

OperationWhat it doesFields
ListReturns all contacts.
CreateCreates a contact.Contact Name
GetReturns one contact.Contact ID
UpdateRenames a contact.Contact ID, Contact Name
DeleteDeletes a contact.Contact ID
Get Attachments ListReturns the list of files attached to a contact.Contact ID
Get AttachmentReturns one file attached to a contact, encoded in base64 together with its type and size.Contact ID, Filename

Contact Groups

OperationWhat it doesFields
ListReturns all groups.
CreateCreates a group.Group Name
GetReturns one group.Group ID
UpdateRenames a group.Group ID, Group Name
DeleteDeletes a group.Group ID

Documents (sales and purchase documents)

OperationWhat it doesFields
ListReturns the documents of one type, optionally limited to a period.Document Type, Filter Document Start (optional), Filter Document End (optional)
CreateCreates a document for a contact with the given date.Document Type, Document Date, Document Contact
GetReturns one document.Document Type, Document ID
UpdateChanges a document’s date or contact.Document Type, Document ID, Document Date, Document Contact
DeleteDeletes a document.Document Type, Document ID
SendEmails the document from Holded to the given addresses.Document Type, Document ID, Document Emails
PayRecords a payment of the document on the given date.Document Type, Document ID, Payment Date, Payment Amount
Update PipelineMoves a sales order or delivery note to another pipeline stage.Document Type, Document ID, Pipeline Stage
Ship All ItemsMarks all the items of a sales order as shipped.Document ID
Shipped Units by ItemReturns the units shipped for each item of a document.Document Type, Document ID
List Payment MethodsReturns the payment methods set up in Holded.

In Document Type you choose the type of document: invoice, salesreceipt (sales receipt), creditnote (credit note), salesorder (sales order), proform (pro forma), waybill (delivery note), estimate, purchase, purchaseorder (purchase order) or purchaserefund (purchase refund). Default: invoice. Document Contact takes the contact’s ID, and Document Emails one or more email addresses.

Products

OperationWhat it doesFields
ListReturns all products.
CreateCreates a product.Product Kind, Product Name
GetReturns one product.Product ID
UpdateChanges a product’s kind or name.Product ID, Product Kind, Product Name
DeleteDeletes a product.Product ID
List ImagesReturns the list of a product’s images.Product ID
Get Main Image / Get Secondary ImageReturns a product’s main image, or the one with the given name, encoded in base64 together with its type and size.Product ID, Image name (secondary only)
Update StockUpdates the product’s stock in a warehouse with the given units.Product ID, Warehouse ID, Stock

In Product Kind you choose the Holded product type: simple, lots, variants or pack. Default: simple.

Services

OperationWhat it doesFields
ListReturns all services.
CreateCreates a service with its description, tax and price before tax.Service Name, Description, Tax, Subtotal
GetReturns one service.Service ID
UpdateChanges a service’s details.Service ID, Service Name, Description, Tax, Subtotal
DeleteDeletes a service.Service ID

Tax (the tax) and Subtotal (the price before tax) are written as whole numbers.

Payments

OperationWhat it doesFields
ListReturns payments, optionally limited to a period.Filter Payment Start (optional), Filter Payment End (optional)
CreateRecords a payment in a bank account and, if you want, from a contact.Bank Id, Contact Id (optional), Amount
GetReturns one payment.Payment ID
UpdateChanges a payment’s details.Payment ID, Bank Id, Contact Id (optional), Amount
DeleteDeletes a payment.Payment ID

Treasury Accounts

OperationWhat it doesFields
ListReturns all treasury accounts.
CreateCreates a cash or bank account.Account Name, Account Type (cash or bank; default: bank)
GetReturns one account.Account ID

Expenses Accounts

OperationWhat it doesFields
ListReturns all expense accounts.
CreateCreates an expense account.Account Number, Expense Account Name
GetReturns one expense account.Expense Account ID
UpdateRenames an expense account.Expense Account ID, Expense Account Name
DeleteDeletes an expense account.Expense Account ID

Sales Channels

OperationWhat it doesFields
ListReturns all sales channels.
CreateCreates a sales channel.Account Number, Channel Name
GetReturns one channel.Channel ID
UpdateRenames a channel.Channel ID, Channel Name
DeleteDeletes a channel.Channel ID

Warehouses

OperationWhat it doesFields
ListReturns all warehouses.
CreateCreates a warehouse.Warehouse Name
List Products StockReturns the stock of the products in a warehouse.Warehouse ID
GetReturns one warehouse.Warehouse ID
UpdateRenames a warehouse.Warehouse ID, Warehouse Name
DeleteDeletes a warehouse.Warehouse ID

Numbering Series

OperationWhat it doesFields
Get by TypeReturns the series of one type.Series Type
CreateCreates a series.Series Type, Series Name, Series Format
UpdateChanges a series’ name and format.Series Type, Series ID, Series Name, Series Format
DeleteDeletes a series.Series Type, Series ID

In Series Type you choose invoice (sales) or purchase (purchases). Series Format must include at least one % symbol, which Holded replaces with the number.

Taxes

OperationWhat it doesFields
Get TaxesReturns the taxes set up in Holded.

Remittances

OperationWhat it doesFields
ListReturns all remittances.
GetReturns one remittance.Remittance ID

Output

The Response output returns Holded’s answer as text: the details of the item you worked with, the list of items for the operations that list, or a confirmation for those that delete or send.

You can connect the result to an agent so it can interpret it, or to a component that extracts the details you need. The component can also be connected to an Agent as a tool, so the agent decides when to look up invoices or customers. See Tool Mode.

Example

An online shop wants every new customer to exist in Holded too.

  1. The customer’s sign-up reaches the flow with their name.
  2. Add Holded Invoice Component with the Contacts resource and the Create operation.
  3. In Contact Name enter the customer’s name.
  4. Keep the contact ID returned in Response to use later in their documents, in Document Contact.

Good practices

  • The IDs of contacts, accounts, products and documents are found with each resource’s List operation. Keep them so you don’t have to look them up on every run.
  • Before using Send with real customers, test it with an email address of your own.