Receivables and Payables
The A/R (accounts receivable) and A/P (accounts payable) tabs in Accounting show you, on a single screen, everything your customers owe you and everything you owe your suppliers. Each tab groups balances by aging, lets you filter and search, export to Excel and — on A/R — copy the customer's collections-portal link. This guide explains what every column means, how balances are calculated, and how paying an invoice clears it.
These tabs are on the Contabilidad / ERP plans (ERP Pyme, ERP Pro and ERP Plus). On Solo Facturación what each customer owes is shown on their record and in the Account Statement.
Where to find it
Both tabs live in Accounting, at /contabilidad, inside the Receivables & Payables section. Once there, look for these tabs:
- A/R — Accounts receivable (what your customers owe you).
- A/P — Accounts payable (what you owe your suppliers).
They are two separate views that share the same layout: five aging cards across the top, a banner with the total and the search box, and a paginated table below. They are designed so an accountant or business owner can review the cash health of the business at a glance.
The whole Receivables & Payables section depends on the advanced-accounting add-on on the company's plan and on the Contabilidad avanzada (CxC/CxP, planilla, activos) permission of the Contabilidad module (on top of Ver, the permission that opens the module). If your role only has Ver, the section does not even appear in the menu.
A/R and A/P are read-only views computed live from your invoices, payments, and purchase orders. You do not edit them here: to change a balance, record the payment on the corresponding document. Balances recalculate on their own.
Aging buckets and summary cards
At the top of each tab are five aging cards. They classify every outstanding balance by how many days it is overdue relative to its due date:
- Current (green) — Not yet due, or due today.
- 1-30 days (yellow) — Overdue by 1 to 30 days.
- 31-60 days (orange) — Overdue by 31 to 60 days.
- 61-90 days (red) — Overdue by 61 to 90 days.
- 90+ days (red) — Overdue by more than 90 days.
Each card shows the total amount in that bucket and the number of invoices that fall into it. The color coding helps you quickly spot problem receivables: a large amount piling up in orange or red is a warning sign.
Filter by aging bucket
The cards are buttons: click a card to filter the table down to only the invoices in that bucket. The selected card is highlighted with a blue ring. Click the same card again, or use the Clear filter link that appears next to the invoice counter, to show everything again.
The chosen bucket and the search text are remembered in your session, so when you come back to the tab it is still filtered the way you left it. The banner total, on the other hand, always adds up all the buckets (it does respect the search).
Aging is measured against each document's due date. If an invoice has no due date, Astra falls back to its issue date. This is why you should always capture a due date when issuing an invoice or recording a purchase: it is what makes the aging report reliable.
Accounts Receivable (A/R)
The A/R tab lists every sales invoice that is not yet fully covered. Each row is an outstanding invoice with its balance. The banner at the top shows the Total Accounts Receivable: the sum of all outstanding balances, converted to Costa Rican colones.
What shows (and what doesn't)
A/R treats an invoice as outstanding when it meets all of these conditions:
- It is not cancelled or superseded.
- It is not a credit note.
- It is not a recurring-billing template.
- Its total is greater than zero.
- It is not fully covered: between the payments received and the accepted credit notes, at least one payable unit is still outstanding.
- It was not rejected by Hacienda.
Importantly, A/R does not require the invoice to have a Hacienda electronic document. Legacy invoices carried over from FileMaker or other migrations — which have no electronic document — still count as receivables. Requiring the electronic document would understate your receivables.
If an invoice should no longer appear in A/R (for example, the customer already paid in cash but nobody recorded the payment), the fix is not to "hide" it: record the payment received against the invoice. Once it is fully covered, it drops out of A/R automatically.
A/R columns
The A/R table has the following columns:
- Customer — Name of the contact the invoice was billed to.
- Invoice — Invoice number. If the electronic document is a debit note, a credit note, an electronic ticket, or an export invoice, a colored badge (ND, NC, TE, or FEE) appears next to the number.
- Date — The invoice's issue date.
- Due Date — Due date (this is what drives the aging).
- Total — Total invoice amount, converted to colones.
- Paid — The payments recorded against the invoice, converted to colones.
- Credit Notes — What accepted credit notes have credited to the invoice, in colones.
- Balance — Total minus Paid minus Credit Notes. This is the key figure, and the one the cards and the banner total add up.
- Days Overdue — How many days overdue it is. Shown in red when greater than zero; shows 0 when current.
- Aging — A colored badge with the aging bucket (Current, 1-30, 31-60, 61-90, 90+).
Accepted credit notes reduce the balance exactly like a payment: one that covers the total removes the invoice from A/R, and a partial one lowers the balance by that amount. Because they have their own column, the row reads straight through: Total − Paid − Credit Notes = Balance. The A/R balance matches the one on the invoice and on the customer's account statement.
All amounts are converted to colones using the invoice's exchange rate and displayed in whole colones; the balance is additionally floored to the colón. That way the per-row balance, each bucket subtotal, and the total receivable never carry sub-colón residue, and a USD invoice is never summed "in dollars" alongside the colón rows.
Search and sorting
The search box in the banner filters by customer name or tax ID (cédula); type the text and press Enter. You can use several words: all of them must match (for example, "juan perez" finds the contact whose name contains both). The list is sorted by due date ascending, so the most overdue appears first. The table paginates 20 rows at a time; use the arrows at the bottom to navigate.
Share the portal link
At the end of each A/R row there is an icon with the tooltip Copy portal link. Clicking it makes Astra generate (or reuse) the customer's portal link and copy it to your clipboard, with the confirmation "Link copied to clipboard.".
- The link is per customer (contact), not per invoice: it covers everything that customer owes.
- You can paste it into an email, WhatsApp, or message to speed up collections.
- The link expires after 90 days, and every time you copy it again that window is renewed. A link that stops being shared eventually dies on its own.
The portal is a public page with no account or password: the customer sees their outstanding invoices with that company and the business's active bank accounts, plus a form to report that they already paid (amount, method, reference, and note). That report does not apply the payment: it creates a pending record your team confirms from the Reported Payments tab of the same section.
The portal does not take payments online: there is no payment gateway. It exists so the customer can check their balance, see which account to transfer to, and report a payment made by bank transfer or SINPE.
The link button requires the Tesorería (bancos y métodos de pago) (treasury) permission. If your role lacks it, the icon does nothing. An accountant with read-only access to accounting sees the receivables but cannot necessarily generate collection links.
Accounts Payable (A/P)
The A/P tab gathers what you owe your suppliers: the purchase invoices that are not voided, have a total greater than zero and still owe the supplier something. The banner at the top shows the Total Accounts Payable: the sum of those balances in colones.
Purchase orders are not debt
A purchase order is what you plan to buy; the debt starts when the supplier's invoice arrives. So orders that don't have an invoice yet (sent, confirmed or received, not cancelled or closed) don't add to A/P. A line under the banner says how many there are and for how much, and View orders opens the order list on the To be billed filter. Drafts never count.
With the production module (battery recycling, for example), confirming an order already records it as a payable in the accounting. There the orders do appear in the table, as type OC with a blue badge, so A/P matches the general ledger. They leave as soon as a purchase invoice is linked, or they're cancelled or closed.
Purchase invoices generated automatically from an already-paid direct expense do not appear in A/P. That document records a settled obligation, not something outstanding; including it would show a phantom bill forever. See Expense payments for the direct-expense flow.
A/P columns
The A/P table has columns equivalent to A/R, with a couple of extra fields specific to purchasing:
- Type — FC (purchase invoice) or, in companies with production, OC (purchase order).
- Supplier — Name of the supplier contact.
- Invoice — The purchase invoice number or the purchase order number.
- Date — Document date (for an OC, the order date).
- Due Date — Due date (for an OC, the expected delivery date). Drives the aging.
- Total — Total amount in colones.
- Balance — What is still owed to the supplier. For an OC with no invoice it is the full total, because no payments are tracked yet.
- Paid — The money you have actually remitted to the supplier, converted to colones. For an OC with no invoice it is always zero.
- Income Ret. — Income-tax withholding applied to the document (if any), in colones.
- VAT Ret. — IVA withholding applied (if any), in colones.
- Days Overdue — Days overdue relative to the due date.
- Aging — The aging bucket badge.
What the supplier is owed is the total minus the withholdings you apply (that money belongs to Hacienda, not to the supplier). That is why the A/P Balance already comes net of Income Ret. and VAT Ret.: do not subtract them again. The row reads: Total − Paid − Income Ret. − VAT Ret. = Balance. A withheld invoice you have not paid yet shows Paid as zero, as it should. Both withholding columns only carry a value on purchase invoices; on purchase orders they are always zero.
Search and sorting
The A/P search box filters by supplier name or tax ID, just like A/R, and also supports multiple words. The combined list of invoices and orders is sorted by due date and paginated 20 rows at a time.
Credit with suppliers
Below the A/P list, Credit with suppliers gathers what your suppliers owe you: the credit notes not yet applied to a purchase and the advances you paid before having the invoice. Each row says which supplier it is, which document it came from, its date and how much is left. The section only shows when there is something in your favor.
You don't have to do anything to use them: they apply by themselves to the same supplier's next purchase in the same currency. To apply one sooner, open the purchase and use Apply to this purchase in its Supplier credit box. If the supplier returned an advance, click Refund on its row, choose the account the money came into, the amount and the date — and the exchange rate if it's in dollars — and Record refund; a credit note's refund is recorded from the note itself. The amount payable at the top is what you owe on open invoices: this credit is listed apart, not subtracted from it.
How paying clears an invoice
Neither A/R nor A/P is edited directly: they are a live reflection of your documents. The way to "remove" something from these lists is to settle the obligation.
In Accounts Receivable
- Record a payment received against the invoice, or apply a credit note.
- When payments and credit notes together cover the invoice total, the invoice is no longer outstanding and drops out of A/R.
- If the payment is partial, the invoice stays on the list with a reduced Balance.
In Accounts Payable
- Record the payment of the purchase invoice (an expense payment). When the amount paid reaches the total net of withholdings, the invoice leaves A/P.
- For a purchase order (OC), the way to remove it is to link its purchase invoice (which replaces it as the authoritative row) or to close the order. Once closed, cancelled, or invoiced, the OC no longer appears.
Because balances recalculate live, after recording a payment you just return to the tab (or reload it) to see the updated report. There is no "close" or "reconcile" button in A/R or A/P: the source of truth is always the invoices and their payments. Bank reconciliation is a separate process, in Banking → Reconciliation.
Export to Excel
Each tab has a split Excel button: the left half downloads straight away, the arrow opens the other options. It only appears for roles with the Exportar (export) permission of the Contabilidad module.
1. Aging list
The one-click download: a snapshot of what is owed today, with every row of the report, not just the visible page.
- A/R: Customer, Invoice, Date, Due Date, Currency, Exchange rate, Total, Paid, Credit Notes, Balance, Days Overdue, Aging.
- A/P: Type, Supplier, Invoice, Date, Due Date, Currency, Exchange rate, Total, Paid, Balance, Income Ret., VAT Ret., Days Overdue, Aging.
Every amount comes in colones and in dollars (Total ₡ / Total $, and likewise for Paid and Balance). The screen converts everything to colones because the books are in colones and the aging buckets have to be comparable; the file also gives you the figure your customer or supplier recognises. When the list mixes currencies, a document-currency column appears as well.
The last row totals every column, so the colón total and the dollar total are already calculated. Dates are real dates and amounts are real numbers — sortable, filterable, pivotable — and the header row is frozen with an autofilter.
It respects the customer/supplier search filter when one is active, and includes all aging buckets (the card filter is not applied to the export).
Period report
The second entry is the one your accountant usually asks for at month end. Where the aging list answers "how much is owed today?", this one answers "what happened between these two dates?" — and it includes what has already been paid.
The filters
- Statuses — Tick the ones you want; All (top right) toggles every box at once. These are the same statuses you see in the invoice list, so "Paid" here means exactly what it means there. Credit and debit notes are ticked by default, because they are part of what the period sold; untick them and the Summary sheet says so. Voided starts off: a voided document sold nothing.
- Electronic — Separates documents that have an electronic receipt accepted by Hacienda from those that don't. Mostly useful if you migrated from another system and carry years of pre-e-invoicing history.
- Currency — Leave it on All unless you want a single-currency file. Note this filters which documents come out, not what currency the columns are in.
- Money columns — Colones only (the usual choice: the books are kept in colones and that is what gets filed) or Colones, document currency and dollars, which adds what each document says in its own currency beside every figure. The Currency and Exchange rate columns are always there, so even with colones only you can see which row was in dollars and at what rate it was converted.
- Company legal name and Person name — Narrow to one customer. Blank includes everyone.
- Report date — The decision that matters:
- Invoices — by the document's issue date. This is what a tax filing asks for.
- Payments — by the date the money moved. A November invoice collected in January does appear in the January report. This is what a cash close asks for.
- Date range — Pick a named range (Last month, This quarter, Last 90 days…) and both date boxes fill in, so you can read the exact boundaries before downloading. Edit either date by hand and the picker switches to Manual and keeps what you typed. All removes the limits.
- Workbook sheets — Which of the five sheets to include.
The five sheets
Each sheet has one row per different thing, and that is exactly why they are separate: an invoice paid in three installments appears once in Invoices and three times in Payments. Mixed together, summing the Total column would give you triple.
| Sheet | One row per… | What it's for |
|---|---|---|
| Invoices | document | The main sheet. Its totals are safe to sum. |
| Payments | payment applied | Which method, which bank, which reference and on what date each amount came in. |
| Lines | detail line | What was actually sold. This is the heavy sheet — leave it off if you won't use it. |
| Taxes | month and rate | The sheet you file from: base and tax in colones, split by rate (13%, exempt, whatever applies). It reconciles with the Invoices sheet. |
| Summary | grouping | Opens with the net for the period, then totals by status, currency, month and payment method, already added up. |
What the file looks like
- Dates are dates and amounts are numbers. You can sort, filter and pivot without cleaning anything first.
- The header row is frozen and carries an autofilter, so it stays put as you scroll.
- Every document is reported in its own currency and in colones. Not just the total — paid and balance too. If you invoice a customer in dollars, the Balance (document currency) column tells you the $4,169.70 they owe without you dividing the colón figure by the rate.
- Conversions use the exchange rate stored on the document, not today's, so the January file still says the same thing a year from now.
- The last row is the total of the columns that can be summed.
A credit note gives money back, so it enters the workbook negative — its total, its VAT, its discount and its lines. Summing Total colones therefore gives you the period's net sales, not its gross.
Its Balance cell is deliberately zero. When the note is applied to an invoice, that invoice's balance already has it subtracted; subtracting it again here would count it twice.
The Summary sheet opens with the arithmetic done: Invoiced, Credit notes, Net invoiced, VAT included in the net and Net before VAT. When a hand-kept sales book says ₡26M and the system says ₡32M, those two lines — the credit notes and the VAT — are almost always the whole difference.
Document-currency totals. They only appear if you ask for them under Money columns, and when the file mixes colones and dollars they are not totalled: a number that adds ₡ to $ looks authoritative and means nothing. The colón columns — Taxed colones, Exempt colones, Discount colones, Tax colones, Total colones — are always totalled, each converted at the rate stored on its own document. File from the colón column.
Cost, profit and margin. When no line on the invoice carries a recorded cost, those three cells stay empty instead of reporting a 100% margin. Not knowing the cost is not the same as the cost being zero.
The dollar columns. A dollar document always has them. A colón one only if it stored the day's dollar rate when it was issued — which invoices migrated from another system almost never did. Otherwise the cell is left empty rather than showing 0.00, which would read as "zero dollars". The colón and document-currency columns never have that gap.
On the A/P tab the same menu offers the Payables report for a period, with the same date ranges and the same sheets, filtering by supplier instead of customer. There a credit note subtracts: its total shows as negative and its balance as zero, because it already lowered the balance of the invoice it corrects.
Permissions and gotchas
- Seeing the tabs — Requires the Ver (view) permission of the Contabilidad module and Contabilidad avanzada (CxC/CxP, planilla, activos), plus the advanced-accounting add-on on the company's plan.
- Exporting to Excel — Requires Exportar. Without it the button does not appear, and neither report is reachable.
- Copying the portal link (A/R only) — Requires Tesorería (bancos y métodos de pago).
The Reported Payments tab, where the payment notices arriving through the portal are confirmed, also depends on the treasury permission, so it is usually configured together with the link.
Common gotchas
- "An invoice I know is outstanding is missing." Check that it is not cancelled, superseded, flagged as a credit note, zero-total, rejected by Hacienda, or a recurring template — any of those excludes it from A/R.
- "A PO and its invoice both appear." They should not: as soon as the invoice is linked to the order, the PO is hidden. If you see both, confirm the purchase invoice is actually linked to that order.
- "The total doesn't match what I expect in dollars." Remember everything is shown converted to colones. A USD invoice is converted at its exchange rate before being summed.
- "The A/P balance is smaller than the invoice total and I recorded no payment." That is the withholding: the balance already comes net of Income Ret. and VAT Ret.
- Balance still outstanding after paying in cash or SINPE. The payment must be recorded in Astra. See Payments received (sales) or Expense payments (purchases).
A/R and A/P are an excellent starting point for monthly management: review the red buckets first (61-90 and 90+) to prioritize collections and supplier payments, and copy the portal link right from A/R to speed up payments from overdue customers.
Need more help?
Our team is ready to assist you.