Ir al contenido
Español

Customers and items

Customers

A customer is the company you have a commercial relationship with. It is the party you talk to: it has a name, a contact, a history. It is not necessarily the entity you issue the document to.

Relvo separates three things that a spreadsheet usually collapses into a single column:

Piece What it is Example
Customer The commercial relationship Acme AI
Billing account The legal and tax identity that receives the document Acme AI SpA, RUT (Chilean tax ID) 76.123.456-7
Billing link The terms under which you invoice that identity 30 days, subject to VAT (IVA), domestic invoice

The billing account brings together the legal name, tax ID, line of business (giro), default currency, time zone and address that Relvo uses when issuing documents. Set it up before enabling invoicing for that customer.

The same structure serves both ends of the document: there are billing accounts with the issuer role—your own legal identities, one per country or line of business—and with the customer role.

Setting up a billing accountClick to enlarge
New billing account form with RUT, legal name, line of business, tax status, currency and tax treatment.
Term What it determines
Payment terms The due date of each invoice, and with it the entire overdue axis.
Tax treatment Taxable, exempt or reverse charge (cambio de sujeto).
Default document Domestic invoice, receipt (boleta) or export invoice.
Status Active, suspended or archived — suspending stops invoicing without erasing the history.

A one-off invoice can force export treatment at issuance; otherwise, the document follows what the link says.

Contacts hang off the billing link, not the customer, and each one has one or more roles:

Role What it receives
Billing Issued invoices and credit notes
Collections Payment reminders
Commercial reference Requests for purchase orders (OC, orden de compra) and service acceptance sheets (HES)
XML email Only the document’s XML, for accounting systems

There is one default contact per role within each link. A single contact can have several roles, and its identity is preserved even if its email changes: if an address bounces and is replaced, no new person appears in the operation.

Items

An item represents a product or service you sell: a platform, conversations, an implementation. It is the commercial basis on which a contract’s charges are defined, and what is described on the invoice line.

An item does not carry a price. The price lives on the contract charge, because the same service can cost different amounts in two contracts, and the 2024 price must not be rewritten when you change the 2026 price list.

Example

One item, two contracts

Contract Item Charge
Acme AI Conversations Usage-based, tiered: 1,000 included, then USD 0.10
Globex Conversations Usage-based, flat rate USD 0.08

Items are deactivated rather than deleted: documents already issued keep pointing to the item they were issued with.

Resource Endpoint Scopes
Customers and billing entities /api/v1/public/customers customers:read · customers:write
Taxpayer lookup (Chile) GET /api/v1/public/integrations/chile/taxpayers/lookup customers:read
Payment methods /api/v1/public/customers/{customer_id}/payment-methods payment_methods:read · payment_methods:write
Items /api/v1/public/catalog/items catalog:read · catalog:write
Billable metrics /api/v1/public/catalog/billable-metrics catalog:read · catalog:write

Every POST requires Idempotency-Key. PATCH and DELETE also require If-Match. Lists return {items, next_cursor} and accept query, limit and cursor.