API - Electronic billing

API to sign, send and validate Electronic Invoices. (Only for Costa Rica)

In our country, Costa Rica, it is a mandatory requirement to generate an Electronic Invoice, which must be in accordance with the provisions issued by the Ministerio de Hacienda. There are multiple systems on the market, which, being systems that were developed before this legal provision came into force, therefore do not include this process.

The current process corresponds to

  1. Create the electronic invoice, which must contain a series of established data, in addition to the items or services that are being traded. This file must be in format XML and must be signed with the certificate issued by the Ministerio de Hacienda.
  2. The signed file must be sent to the Ministerio de Hacienda servers, so that it can be reviewed, processed and finally there are 3 options that the servers can indicate:

    1. Accepted Document.
    2. Partially Accepted Document.
    3. Rejected Document.
  3. After receiving the response from the servers of the Ministerio de Hacienda, received in the previous step, which is contained in a response file, issued by the servers of the Ministerio de Hacienda, which is received in format XML. If the answer is the acceptance of the electronic document, the file must be created in format PDF, which must be sent to the end customer by email.

The entire process mentioned above, the developers or companies that are developing an electronic invoicing system, can decide between carrying out the development of the entire process or purchase a service like we offer, with which, you can simplify your work and thus focus your efforts on achieving optimal development, allowing us to take care of the constant changes and adjustments made by the Ministerio de Hacienda.

Among the options we offer are:


Generation of electronic documents in XML format.

Signing of electronic documents in XML format.

Sending electronic documents in XML format to the servers of the Ministerio de Hacienda and receiving the response.

Return by means of a Webhook to our client of the generated files and / or the responses received from the Ministerio de Hacienda.

Generation of PDF files, according to customer requirements and sending PDF and XML files via email to the end customer.

Review of documents through our API sent to Ministerio de Hacienda.

Consecutive control according to the documents sent.

All the electronic documents that are generated in our system will be sent to a Webhook determined by the client and will be stored on our server according to the time agreed upon at the time of contracting. With the possibility of storing them in additional storage services.

Our system is compatible with version 4.3 of the Ministerio de Hacienda.

Clicking on an image will expand it for more details…

Do you want to contact us?

Let us simplify your life !!!

We only use some data, to contact us as soon as possible and provide the solution you need so much!!!