logo

SmartBill

Request Structure

Creating a factura with Smartbill API is designed to be as simple as possible. All you need to do is provide two main components in your request:

1. Receptor Data

This section contains information about the recipient of the invoice. It includes basic details such as the name, identification number, phone, email, and address of the receptor.

2. Products Array

This is where you define the products or services involved in the invoice. Each item in the array includes essential

Additionally, API keys credentials must be included in the request headers to authenticate your requests. You will need to add both your public and private API keys like so:

With just this data and your API credentials in the headers, the Smartbill API processes the document efficiently, ensuring a smooth and secure workflow. There's no need for overwhelming configurations or excessive details just send what's necessary!

Congrats!

That's it! You've successfully sent a document for your business using the Smartbill API it's that simple. Now that you understand the essentials, you can explore the various options and features that the API offers to optimize your operations.

There are additional resources you may find useful, such as:

Regions

Information about the available regions for processing documents.

Economic Activities

list of economic activities to ensure your invoices are aligned with the business sector.

Unit Measures

Definitions of different unit measures to accurately represent your products or services.

You can find all this information and more in the Resources section of our documentation.