tario.

Electronic Purchase Invoice (FEC)

The FEC (type 08) is issued by the buyer when the supplier cannot issue an electronic receipt; it is created from a bill, signed with your certificate and sent to Hacienda like an invoice.

If you are not signed in, Tario asks you to log in and opens your current company.

Steps

  1. Use the FEC for purchases from people or businesses that do not issue electronic invoices (not registered, simplified regime, producers). Tario generates it from the bill and signs and sends it with your certificate, just like a sales invoice.

  2. Create the bill with New bill and in the Hacienda Costa Rica section choose Document type → Purchase invoice. You can also start from a purchase order with Convert to FEC or Create FEC draft.

  3. Fill in the Provider fiscal details: Provider ID type, Provider tax ID, Provider name and Provider email, plus Sale condition and Payment method. If the supplier is a non-taxpayer (ID type 06), Hacienda requires condition 13 - Sale of used goods, non-taxpayer; Tario validates this before sending.

  4. Every line needs a valid CABYS code, Unit, IVA type and IVA %; if something is missing, when sending you will see "Validate CABYS and IVA data before sending this purchase invoice."

  5. Save and, in Bill detail → Hacienda detail, click Send FEC. The FEC status changes to Processing and then to Accepted or Rejected with the FEC response; Query FEC asks for the status if Hacienda is slow.

  6. An accepted FEC backs the bill and its supported IVA; the signed XML and the MH XML stay in the bill's files.

  7. A rejected FEC is corrected in the bill and resent with Send FEC; an accepted one cannot be edited: it is corrected with a credit or debit note that references it (reference types 17 or 18).

Tips

  • The FEC uses the Hacienda sequence for type 08 and goes out through the same environment (Sandbox or Production) and certificate as your sales invoices.
  • The FEC does not replace the receiver message: if the supplier did issue an electronic receipt, accept it from Reception instead of issuing an FEC.

Common errors

Code or messageWhat it meansHow to fix it
-502Hacienda rejects an FEC to a type 06 supplier (non-taxpayer) with a sale condition other than 13.Change the Sale condition to 13 and resend with Send FEC.
Add the supplier identification type and number before sending this purchase invoice.The supplier's fiscal details are missing from the bill's Hacienda section.Fill in Provider ID type and Provider tax ID and save.
Validate CABYS and IVA data before sending this purchase invoice.Some line lacks a CABYS code or a valid IVA code.Open Line validation, fill in CABYS, product type and IVA, and use Save validation.

Ask Tario AI

Opens the assistant inside Tario with the question typed, ready to send.

Ask Tario AI