Electronic invoicing for online stores and digital platforms in Costa Rica
Every paid order, an issued document, without touching the dashboard
An online store sells around the clock, to customers who almost never give their ID number, and it needs the inventory on the website and in the system to match. FACTURATica's electronic invoicing for online stores in Costa Rica integrates through an API: each order is issued automatically, stock is synced in batches and the customer receives their document as soon as it is issued.
Sale night at an online natural cosmetics store
It is eleven at night and the orders keep coming. Every purchase paid on the website calls the FACTURATica API and is issued as an electronic ticket (receipt), without asking anyone for their ID number. The PDF comes back in the same response, and the customer receives an SMS with a link to their document. The store's system syncs stock in batches of twenty products and, if it retries an order after a network outage, what was sold is not deducted twice. The next day, a return is handled with a partial cancellation by percentage, and the sales report feeds the owner's dashboard.
Why we're the best choice for online stores and platforms
-
01
One ticket per order, no customer data required
Electronic invoicing for online stores is issued from your website or app: the electronic ticket for the end consumer does not require customer details, and if a buyer asks for an invoice, you issue it with their ID number and the name filled in automatically.
H8Electronic Invoicing API → -
02
Stock that matches the website
Check the stock of 20 products per call and deduct what was sold only once, even if your system retries the order. The catalog with images, price, VAT, categories and brand can also feed your store.
H8Electronic Invoicing API → -
03
The document, to the customer on the spot
Get the PDF in the same issuing call, ready to display or send, and your customer receives an SMS with a link to their document as soon as it is issued. Its status with Costa Rica's Ministry of Finance (Ministerio de Hacienda) can be checked in real time.
H8Electronic Invoicing API → -
04
No per-document cost and no issuing cap
The API is included in the annual ILIMITADO TODO license: issue as many documents as you need, one after another, with no per-call charge. In high season, use an internal queue and, if your volume requires it, the query limits can be raised.
H8Electronic Invoicing API → -
05
Your catalog with photos, loaded in one go
If you are starting out with hundreds of products, upload them in a CSV file with their CABYS code, price and tax, and attach photos, PDF spec sheets and videos through bulk import. It comes with the most affordable license.
FEElectronic invoicing
The modules that serve you best
Good to know
The API is exclusive to ILIMITADO TODO licenses on the annual plan; it is not included in PREPAGO or in the monthly plan. File uploads, configuration changes and imports are done in the dashboard, not through the API.
What online stores and platforms ask us
=QUESTIONS() → 5P1Does it work with the platform my store is built on?
The API is standard REST: it works with any system that makes HTTPS POST requests and reads text or JSON, in PHP, Python, Node.js, Java, .NET, Go, Ruby or any other language, with no proprietary SDK. The manual includes a gallery of 219 tested PHP examples, ready to copy.
P2How do I handle a return on an order that has already been invoiced?
With a full or partial cancellation, by percentage, in a single call on the accepted document. If you need full control over the lines, the reason and the reference, you issue a credit note. Beforehand, you can look up the document to be corrected by sequence number, key, ID number or name.
P3I do not have a developer. Can I still integrate?
Yes. There is an optional assisted integration service for US$500, as a one-time payment, with one-on-one support on WhatsApp, adjustments on FACTURATica's side, help with the implementation and guided testing until your system issues its first document to Hacienda.
P4How many API calls can I make?
Issuing has no quantity cap: it is done in order, sending each request after the response to the previous one, with an internal queue for high volume. Queries for customers, inventory, reports and the dashboard allow 60 per minute, 600 per hour and 5,000 per day, which can be raised if your volume requires it.
P5How do I know Hacienda accepted the document for an order?
The 50-digit key confirms that the document was generated and sent, not that Hacienda accepted it. Check the status in the background until it shows as accepted; in practice it usually takes less than five minutes, although Hacienda's official deadline can be up to twelve hours.
Every paid order, an issued document, without touching the dashboard