Taxes
Manage tax rates that can be applied to products and sales.List Taxes
Returns all tax configurations in the system.Response
Tax unique identifier
Tax name (e.g., “IVA”, “Exento”)
Tax rate as a decimal (e.g., 0.19 for 19%)
Whether the tax is currently active
Whether this is the default tax for new products
Example
Create Tax
Creates a new tax configuration.Request Body
Tax name (e.g., “IVA”, “Reducido”)
Tax rate as a decimal. For 19%, use 0.19
Whether the tax is active
Whether this should be the default tax
Response
Returns the created tax object with status code 201.Example
Update Tax
Updates an existing tax configuration.Path Parameters
ID of the tax to update
Request Body
Tax name
Tax rate as a decimal
Whether the tax is active
Whether this is the default tax
All fields are optional. Only provided fields will be updated.
Response
Returns the updated tax object.Example
System Settings
Manage global system configuration.Get Settings
Returns the current system settings. If no settings exist, default settings are initialized.Response
Settings identifier (always 1)
Printer format configuration (e.g., “80mm”, “58mm”)
Default tax (IVA) ID to apply to new products
Example
Update Settings
Updates the global system configuration.Request Body
Printer format. Common values: “80mm”, “58mm”, “A4”
Default tax ID to apply to new products
All fields are optional. Only provided fields will be updated.
Response
Returns the updated settings object.Example
Configuration Best Practices
Tax Configuration
- Default Tax: Always set one tax as default for automatic application to new products
- Rate Format: Use decimal format (0.19 for 19%, not 19)
- Exempt Products: Create a 0% tax rate for exempt products
- Deactivation: Instead of deleting taxes, deactivate them to preserve historical records
Print Format
Choose the print format based on your thermal printer:- 80mm: Standard thermal printers (most common)
- 58mm: Compact thermal printers (mobile POS)
- A4: Laser printers for invoices