Product Modules Plans
Solutions By size Industries
Pricing
Resources
Start free Sign in
ES EN
← All guides Taxes and Hacienda

How to create an electronic invoice in Astra, step by step

From customer to line items, review and submission: a short route to your first invoice.

Astra teamReviewed on 3 min read

Your first invoice need not become an afternoon of trial and error. Prepare the customer and the sale, work in a draft, then review before sending. This guide assumes your organization has configured issuer identity, credentials and the signing key for the correct environment.

1. Select the customer

Open Invoices and create the document, or start a new invoice from the contact. Choose the correct customer and check identification and email. Review saved discounts or terms before applying them to this sale.

Four-step visual summary: 1. Select the customer; 2. Add two or three lines; 3. Confirm currency and terms; 4. Send and check the result
A quick route. Steps and decisions are explained below.

2. Add two or three lines

In Items, choose Add Item. Find a catalog product or create a manual item. For each line, check description, quantity, price, CABYS and tax. For example, a repair can separate service and parts; avoid a generic description that obscures the sale.

2. Add two or three lines in the Astra interface
Astra interface with example data. Amounts and products illustrate the screen, rather than a tax recommendation.

3. Confirm currency and terms

Open Electronic Invoice to check date, sale condition, payment method and credit term where applicable. Check currency and total. Illustrative example: a ₡10,000 base with 13% IVA totals ₡11,300; do not add tax twice if the price already includes it.

4. Send and check the result

Use the submission action for Hacienda. Astra validates the data, prepares and signs the XML, and handles submission. Correct any validation notices before proceeding. Then check electronic status and file delivery to the customer. Recording payment is separate: an accepted invoice can still be unpaid.

A mistake to avoid

Do not issue another invoice just because a response is delayed. Check the existing document’s status first.

Hacienda · electronic document API

Before your next step

  • Customer and identification have been reviewed.
  • Lines, taxes and totals match the transaction.
  • I checked the outcome and kept supporting evidence.

Where Astra fits

Astra brings customer details, line items and document tracking together so you can continue working without copying the same information again. Check tool availability in the plan you choose.

Explore this Astra tool →

Frequently asked questions

Are sending to the customer and submitting to Hacienda the same?

No. They are different destinations. Check electronic status and customer delivery, as well as payment status.

General guidance for individuals and businesses in Costa Rica. Requirements vary by activity, municipality and institution. Confirm your case with the relevant institution and your accountant or notary.

Related guides

Astra

Organize what you are building.

Keep your invoices and, with an ERP plan, your expenses, accounts and accounting in one system. Choose the tools you need at this stage of your business.

See Astra plans →
WhatsApp