Product Modules Plans
Solutions By size Industries
Pricing
Resources
Start free Sign in
ES EN
For developers and platforms

Your application. Astra’s electronic invoicing engine.

You do not need to replace your system to issue electronic documents in Costa Rica. Integrate Aster, the engine Astra uses, and connect your application to validation, XML signing and tracking with Hacienda.

A workflow connected to your application
Your application
Sends the document data
Aster
Validates → generates XML → signs
Hacienda
Receives and processes the document
Your application
Receives the status by webhook

Illustrative workflow. Hacienda’s result arrives asynchronously.

One integration for the document’s entire journey.

  1. 01

    Your application supplies the data.

    Send the data through the API and authenticate with a key for the appropriate environment. The documentation includes examples for getting started and checking the result.

  2. 02

    Aster checks before signing.

    It validates document structure and rules, line-item calculations and totals. Errors identify the fields your application needs to correct before continuing.

  3. 03

    Aster prepares and signs the XML.

    It generates v4.4 XML and applies an XAdES-EPES signature using the configured certificate. Built in Go, the engine separates preparation from asynchronous tracking.

  4. 04

    Aster handles submission and tracking.

    It sends the document to Hacienda. Temporary failures leave the submission queued for retry. Webhooks communicate status changes to your application so it can update its own workflow.

The hard parts of issuing documents, handled by the engine.

Seven document types

Invoices, receipts, credit and debit notes, purchase invoices, export invoices and electronic payment receipts. One integration foundation for different businesses.

Controlled retries

Use the documented idempotency key to repeat a request without executing the same operation again. Webhooks track status without requiring users to keep a screen open.

Test before going live

Separate environments and keys for testing and production. Test your integration before configuring the certificate and credentials required to issue live documents.

Documents available to your system

Check status and retrieve files as described in the documentation. Explore Aster’s PDF, download and archiving options for your integration.

Keep what makes your application special.

ERP or accounting system

Connect issuance and its result to sales, purchases and accounting records.

Point of sale

Integrate documents into checkout and maintain tracking when Hacienda is delayed.

Service software

Issue documents from orders, bookings or services without asking your team to re-enter the sale in another tool.

Your team builds the experience. Aster provides the FE engine.

Explore the examples, test the integration and check Aster for current plans and terms. Aster is purchased separately from Astra plans.

Also need a system to run your business? Explore Astra →

WhatsApp