Classifying your purchases
Set up or postpone accounting · Review and close a month · Remember IVA conditions on purchases · Record tax submission and payment · Approve financial changes proposed by AI
Classifying a purchase means saying what it was for: fuel, rent, goods to resell, the accountant… That category decides where the expense shows up in your reports and, if your plan includes Accounting, which ledger account it lands in. Personal (no es de la empresa) excludes that purchase from expenses, company accounts payable and IVA credit. In Astra you do it once per supplier: the next purchase from the same supplier arrives classified by itself. This guide goes step by step.
Classifying purchases is on the Contabilidad / ERP plans (ERP Pyme, ERP Pro and ERP Plus). On Solo Facturación the screen does not appear.
- In two minutes
- Why the category matters
- On the purchase itself
- Where it is
- Step 1 — Tell Astra about your suppliers
- Step 2 — See what waits in Purchases to review
- Step 3 — Classify one supplier at a time
- Where the suggestions come from
- What happens when you classify
- The other sections of Purchases to review
- Choosing the right category
- A purchase that isn't the company's
- Who can classify
- Frequently asked questions
In two minutes
- In Expenses → Suppliers, press Set up one by one and tell Astra what each supplier sells you and how you pay them. Astra suggests the category and the account; if it sells you a bit of everything (a supermarket, a hardware store), pick Varies.
- In Expenses → Purchases to review, see how many purchases wait for a category. The amber strip above Purchase Invoices tells you when there are some.
- Press Start classifying: Astra shows you a supplier, what it bought and its suggestions. Pick the category and it moves on to the next one by itself.
Whatever you classify is learned: their next purchases arrive with that category, and cash ones are recorded as paid from the account you gave.
The Purchases to review and Classify purchases screens belong to companies with automatic purchases: those where every accepted e-invoice becomes a purchase by itself. In every company, the category can also be chosen on the purchase invoice itself (see On the purchase itself). Suppliers serves everyone: the category you save there arrives on every purchase invoice created from Reception, and whoever reviews VAT in Tax Review sees it too; recording cash payments by themselves, on the other hand, needs automatic purchases. All of this is on the Contabilidad / ERP plans.
Why the category matters
A purchase's category is used in several places at once:
- Home and Business Snapshot — the Expenses by category chart and "where the money went" add up by category.
- D-270 — the informative return suggests each purchase's concept from its category.
- Accounting — with automatic purchases, each category has its ledger account and, while a purchase has no category, it is posted to Gastos por clasificar, a holding account your accountant wants at zero when closing the month. Without automatic purchases, every purchase goes to the Purchases account and the category feeds the reports.
That's why it pays not to let unclassified purchases pile up: with the three screens in this guide it takes minutes.
On the purchase itself
You don't have to go through Purchases to review to classify a purchase: every purchase invoice has its place for the category, and the Choose button on its path takes you there. There is one picker per purchase:
- Without automatic purchases, or when the purchase already has a category: on the Category card in the sidebar, with Remember the category for its next purchases, Classify and, later, Change.
- With automatic purchases and the purchase to classify: in the amber To classify notice below the tabs. The Category card says Choose it in the notice above.
Details in The purchase's category. Purchases to review is for classifying many at once, one supplier at a time.
Where it is
Both screens are in the Expenses menu, not under Accounting: classifying is part of recording the purchase, and purchases are in every plan. Above the Purchase Invoices list, an amber strip says how many purchases wait and takes you to Purchases to review.
Step 1 — Tell Astra about your suppliers
Open Expenses → Suppliers. It lists the suppliers you bought from in the last 12 months (or in the year you pick), from the one you bought most from to the least, plus any supplier with purchases waiting in To classify. Each row shows how many purchases you made, the amount, what share was cash, the date of the last one and, below, Sells: what you bought from it most.
Each supplier shows by the name you know it by — the commercial name on its documents, for example iGenius — with the legal name under it (3-102-837269 S.R.L), and the search box finds it by either. Purchases to review does the same.
At the top, the N of M suppliers ready card tells you how much is left. A supplier is ready when it has a category (or Varies) and, if you buy from it in cash, the account you pay it from.
One by one: the fastest way
Press Set up one by one. A window opens on the first supplier that still needs something, in the list's order (and within the filter you have on). A row's Set up → link opens the same window on that supplier.
- Look at what it sells you. On top are its biggest lines in the period, with the name of their CABYS.
- Pick the category. The suggestions come as cards, each with its reason (see where they come from), and the suggested one is already picked. If it's none of them, search for it in Other.
- Check how you pay it (only if you buy from it in cash). If you nearly always paid it from the same account, Astra already picks it and tells you you paid it this way 4 of 5 times.
- Save and continue (or Enter) saves and moves to the next one that still needs something. If it has purchases in To classify, they are classified with the category you picked.
Skip (or Alt + →) leaves it for later and Previous (Alt + ←) goes back. After saving, a green strip on top has Undo: the supplier goes back to how it was and its purchases go back to To classify. Esc closes the window; what you saved stays saved.
Or row by row
On the list you can also pick right on each row:
- Category — open the picker and type part of the name ("fuel", "rent", "account"): the list narrows as you type, accents don't matter. If Astra has a suggestion, it comes first in the list and also below the picker, with the reason ("4 of its purchases have it"). Use saves it without opening anything.
- How do you pay them? — the account, card or cash box the payment normally comes from, including a partner's or employee's personal card. It only matters for cash purchases: they are recorded as paid from there. If you buy on credit, or don't know, leave On credit / don't know and the purchase stays in accounts payable until you pay it. If you nearly always paid it from the same account, it shows below with Use.
Every change is saved right away, and if that supplier has purchases waiting in To classify (the row says so in amber), they are classified with the category you just picked. The row stays where it is with a green mark — Saved · 2 purchases classified — even if it no longer fits the filter, until you change the filter or the search. Purchases that already had a category don't change. If the supplier doesn't exist as a contact yet, Astra creates it from its latest document.
If the account Astra remembered for a supplier was deactivated, the row shows it in amber as inactive: their cash purchases can't be paid from it by themselves, so pick another one. Changing how a supplier is paid needs permission to edit purchase invoices; whoever only classifies sees the account but can't change it.
Hardware stores and supermarkets: Varies
A supplier that sells you a bit of everything — a supermarket, a big hardware store — has no single category: today you bought cleaning supplies, tomorrow coffee, the day after screws. For those, pick Varies: classify each purchase. It's one more card in the window, and in the row's picker under If it sells a bit of everything. When Astra notices a supplier's purchases don't point to one category, it tells you: the row says You buy a bit of everything from it with a Varies button, and in the window the Varies card comes first, already picked.
With Varies, the supplier counts as ready, but Astra doesn't give its purchases a category: they arrive in To classify and each one gets its own. In Purchases to review the row says Varies per purchase instead of offering Use, and the Classify purchases window opens it purchase by purchase right away. The account you pay it from still counts: its cash purchases are recorded as paid from there. If you later decide it does have a category, pick it and Varies goes away by itself. And if a single invoice holds a bit of everything, split it by line.
Filters and suggestions in bulk
- No category — the ones you haven't told Astra about yet (those marked Varies don't count). Start here.
- With a suggestion — no category, but one suggested, or You buy a bit of everything from it.
- No payment account — you buy from it in cash and Astra doesn't know yet which account you pay it from.
- With purchases to classify — the ones with purchases waiting in Purchases to review.
- Use the N suggested accounts (the light-blue strip) — gives each cash supplier without an account the account or card you paid it from at least 8 times out of 10 in the last 18 months. It asks you to confirm first.
- Use the N suggestions (the green strip) — saves at once the suggested category of every supplier without one, only when the suggestion comes from how their own purchases were classified and it doesn't sell a bit of everything. The other suggestions are hints and the strip tells you how many: review them on their rows or in the window. It asks you to confirm first, and you can change any of them afterwards.
To remove a supplier's category (or Varies), open the picker and choose Remove the category: their next purchases arrive to classify again.
Step 2 — See what waits in Purchases to review
Expenses → Purchases to review gathers everything Astra couldn't finish on its own with the invoices you accepted. At the top, five cards say how much there is of each; tap one to jump to its section.
From a return's reminder in the Inbox, or from My accounting, the page opens with only that month's purchases, the ones that reminder counts. A strip at the top says so, with Show every month to go back to the full list.
The To classify table has one row per supplier, from the largest amount to the smallest, with how many purchases wait, the period and the suggested category with where it comes from. Press Classify to open the step 3 window on that supplier, or use the suggestion on the same row:
- Use (filled button) — the suggestion is safe: it's the one Astra remembers for the supplier, or the one its own purchases have. It classifies all the waiting ones and remembers it for the next ones. A green strip with Undo stays at the top.
- Review (dotted border) — it's a hint: other purchases of yours with the same CABYS, a CABYS that is in your products, the family of its CABYS (telephony → Phone) or a word from what it bought ("diesel" → Fuel). It opens the window on that supplier so you can confirm it. See Where the suggestions come from.
With many suppliers, type in Search supplier or ID… above the table: it filters by name or ID number, accents don't matter.
A row with a padlock has all its purchases in a closed month: they don't change until the month is reopened in Accounting, so it has no buttons. If a supplier has more than 100 purchases waiting, they are classified in the background: the row says Classifying…, the supplier is learned at once and the purchases leave the list in a few seconds.
Several suppliers at once: By suggested category
Above To classify, View as switches between By supplier (the table) and By suggested category. In this view Astra puts the waiting suppliers together by the category it suggests for them: one card per category, with how many suppliers and purchases, the amount and where the suggestions come from.
- Review each card. All its suppliers come ticked. Tap the ones that don't belong to that category: they are struck through and left out.
- Press Classify N as “category”. Astra asks you to confirm.
- Done. Those suppliers' purchases are classified and each supplier is remembered for the next ones. The green strip on top has Undo: the purchases go back to To classify and each supplier goes back to what Astra remembered before.
It's the fastest way to get started while Astra doesn't know your suppliers yet and most suggestions come from the CABYS. Still look at each card, because classifying here also teaches Astra: in the figure, Ferretería El Clavo was left out because this time it sold you diesel, but you don't want Astra to remember it as fuel. Suppliers without a suggestion, those that sell a bit of everything (see the suggestions), those with all their purchases in a closed month and those being classified in the background don't show here; those, and the ones you left out, go through Start classifying.
Step 3 — Classify one supplier at a time
Press Start classifying. A window opens that works like Match product in purchase import: one supplier at a time, and picking moves on to the next one by itself.
- See who it is and what it bought. On top are the supplier, how many purchases wait, the amount and the period, and below, What it bought: the biggest lines of those purchases with the name of their CABYS (hover over it to see the code). See the N purchases opens them one by one in another tab.
- Pick the category. On top, the suggestions for this supplier, each with its reason (the first one comes highlighted). Below, your company's most used — handy for a new supplier, but never highlighted — and every category. If none fits, type in the search box: the list narrows at once, accents don't matter. Tap the right one, or move with ↑ ↓ and confirm with Enter.
- Done: on to the next. All of that supplier's purchases are classified, the supplier is learned and the window shows the next one. A green strip on top says what you did and has Undo, in case you got it wrong.
At the bottom of the window there are two options for the supplier on screen:
- How do you pay them? — the account you pay their cash purchases from, as in Suppliers. It is saved when you classify.
- Remember the category for its next purchases — ticked by default. Untick it if this supplier sells you different things each time: today's purchases are classified and the next ones arrive to classify again.
When every purchase is different
If a supplier sells you a bit of everything — a supermarket, a big hardware store — press Purchase by purchase (if you marked it Varies in Suppliers, the window already opens this way and no category is remembered for it). Astra tells you when it notices: next to the button, in amber, It bought things from different categories. In this mode each purchase shows what it holds (its biggest line) and gets its own picker, with the suggested ones on top. Pick the ones you know and press Save N and continue at the bottom right; those you leave unpicked keep waiting and the window stays in this mode for them. If you try to move to another supplier or close with categories not saved, Astra asks first. Undo works the same, and nothing is remembered for the supplier in this mode. Purchases with no supplier open this way directly. A purchase with several lines also has a Split button, to give each line its own category (see Split a purchase by line).
With the keyboard
| Key | What it does |
|---|---|
| ↑ ↓ | Move through the suggestions and categories. |
| Enter | Classify with the highlighted category and move to the next supplier. |
| Alt + ← → | Previous or next supplier, without classifying. With the search box empty, Cmd/Ctrl + ← → work too. |
| Esc | Close the window. What you already classified stays saved. |
To skip a supplier you're not sure about yet, press Next: it stays in the list for later.
A purchase with things from different categories: split it by line
A single invoice can hold a bit of everything: the supermarket's has coffee, detergent and toilet paper. Instead of giving the whole purchase one category, give each line its own. It's in four places:
- In the Classify purchase window, while deciding the document: By line, next to the category. Each line carries its category beside its VAT and it saves with Confirm. It's the natural place: you are already looking line by line.
- In the Classify purchases window: each purchase's Split button (in purchase by purchase mode), or Split this purchase by line when the supplier has only one waiting.
- On the purchase's page: the sidebar's Category card → Split by line, or or split it by line on the amber To classify strip.
- In Tax Review, once it's split: Split into N — edit.
- Check the proposal. Astra gives each line the category it suggests from what you bought (its CABYS), with the reason below. The bar on top shows how much goes to each category.
- Change what's needed. Each line has its own picker. To give several the same category, mark them and pick it in Give them a category…. Use the suggestions goes back to the proposal.
- Save. The purchase is classified: each line goes to its category's account and the spend-by-category report spreads the amount line by line.
The purchase keeps a main category (the one with the biggest amount) for the purchases list. In Expenses → Categories and in the list's category filter, it counts for each of its lines' categories. To go back to one category, open the split (Edit the split) and give every line the same one, or pick another category for the purchase in Tax Review.
- Locked lines. A product you keep in inventory always goes to Inventory, and a line with capital-goods VAT (03) set by the accountant goes to Fixed assets: those don't change category.
- A Personal line (not the company's) stays out of expenses, company accounts payable and VAT credit. If the company pays it, that part of the payment goes to Accounts receivable from partners. The rest of the purchase stays the company's.
- A Fixed asset line marks its VAT as capital goods (03), as when the whole purchase is a fixed asset.
If the supplier has no category yet, the window offers Remember that … sells a bit of everything: it's marked Varies and its next purchases arrive to be classified one by one.
Where the suggestions come from
Every suggestion says why Astra proposes it. From the safest to the weakest:
| What it says | What it means |
|---|---|
| What Astra remembers for this supplier | Someone already classified this supplier and it was remembered. Safe: in the table it gets Use. |
| 8 of its purchases have it | Its own earlier purchases have that category. Safe. |
| Used on other purchases with CABYS … | Other suppliers' purchases with the same CABYS code already have that category in your company. A hint. |
| You sell it: this CABYS is in your products | The CABYS code of what it bought is one of your products', so it's probably merchandise for sale: it suggests Mercadería para la venta (inventario). A hint. |
| From its CABYS: “…” | The family of the CABYS code points to an everyday expense: telephony → Teléfono e internet, courier → Envíos, fletes y mensajería, fuel → Combustibles, rent → Alquiler de local u oficina. Food suggests Comidas y atenciones, or Materiales y suministros if your company sells food. A hint, meant for getting started while Astra doesn't know your suppliers yet. |
| From what it bought: “…” | A word from the lines of its purchases ("diesel", "rent", "hosting"). A hint. |
| One of your company's most used | Your most used categories. They sit apart, for reference, and never come highlighted. |
When a hint explains only part of what the supplier sold you —a supermarket: food, cleaning, paper—, Astra says so in amber under the reason: Only 47% of what it bought. That supplier doesn't go into By suggested category, and in Suppliers Astra suggests Varies instead of a category, because no single category fits all its purchases: classify it purchase by purchase.
Safe ones are used in one click; hints are always yours to confirm. As you classify, the ones from your own purchases take over: Astra learns how your company works.
What happens when you classify
- The purchase takes the category and leaves To classify. With automatic purchases, its entry moves from Gastos por clasificar to the category's account (see Purchase categories).
- A closed month is left alone. Purchases in a closed period stay as they were, keep waiting in To classify and Astra tells you how many; to classify them the month has to be reopened in Accounting (or ask your accountant). The window shows how many of a supplier's are in that situation and skips suppliers that have nothing else.
- The supplier is learned. Their next invoice arrives with that category, and if it's cash and you said how you pay them, it is recorded as paid from that account.
- Who did it is recorded in each purchase's activity.
The other sections of Purchases to review
- Purchases with warnings — purchases that add up to something other than their document, documents accepted only in part, cash purchases whose automatic payment couldn't be recorded (the account is inactive or in another currency), and a consignor's invoices that may be the bill for a settlement (Consignment: Go to the consignment to link it, or Not a consignment), and invoices from a vendor with orders received without an invoice (Receive before the invoice arrives: It's the invoice for the right order, or Not from any order). Open the purchase, fix what's needed and press Mark reviewed.
- Possible duplicates and held documents — accepted invoices that didn't become a purchase because they look like one you already had. If it's the same, It's FC-… — link; if it's another, It's another purchase — create. Those held because of an error have Retry.
- Orders received without an invoice — received purchase orders that don't have their purchase yet, with how many days they've waited. When the supplier's invoice arrives it links by itself; if it won't, Close without invoice. Only those that can still link by themselves show up (placed up to two months before automatic purchases were switched on); older ones stay in Purchase Orders, To be billed filter.
- Credit applied automatically — credit notes and advances Astra applied to a purchase in the last 14 days, with Undo in case one didn't belong.
The menu's number and the strip above the list count what waits for a person: to classify, with warnings and possible duplicates (the orders and credit cards say For information). Orders without an invoice and credit applied show on the page without adding up. These sections change the purchase, so they need permission to edit purchase invoices; whoever only classifies sees them without the buttons.
Choosing the right category
| If you bought… | Use |
|---|---|
| Goods you resell as they are, or raw material for what you sell | Mercadería para la venta (inventario) — merchandise for sale: it goes into inventory, not expenses. |
| Equipment, furniture or vehicles you'll use for more than a year | Activo fijo — a fixed asset: recorded as an asset and depreciated (see Assets). Its taxed lines are marked capital goods (condition 03): the credit doesn't change, and Tax Review shows Registrar activo on them. |
| Something personal of an owner's that the company paid for: the household groceries, a gift, clothes | Personal (no es de la empresa) — personal, not the company's: it isn't an expense, it stays as what the owner owes the company (see below). |
| Everything else: services, rent, fuel, stationery… | The expense category that describes it best. If you're torn between two, ask your accountant once: Astra remembers it. |
Categories are managed in Expenses → Categories: see what goes in each one, rename, add or hide them, and your accountant picks each one's account. See Expense categories.
A purchase that isn't the company's
If a purchase does not belong to the company, such as an owner's household groceries, classify it as Personal (no es de la empresa), in the Inventario, activos y personal group. Astra keeps the invoice and applies these rules:
- It does not count as an expense. It stays out of total expenses, operating profit, the Expenses by category chart and the Business Snapshot.
- It does not increase company accounts payable. It stays out of CxP on Home, the reports and their export. For a purchase split by line, only the company's portion counts.
- Its IVA isn't credited. The taxed lines of its comprobante move to condition 04 (not creditable), so they don't add to the credit in the IVA return.
- It isn't deducted from income tax. The purchase is marked not deductible.
- Company money is not used automatically. Astra does not apply advances or supplier credit, or record a payment from a remembered account, for a wholly personal purchase. If you explicitly apply a company advance, it becomes money the owner must return. A personal credit note stays out of company supplier credit.
- An actual company payment is preserved. If you record the company paying for this purchase, the payment goes to Cuentas por cobrar a socios (receivables from owners), including IVA: what the owner must repay. It does not create an expense or clear company CxP. If paid from a personal account, that portion is not booked as company money.
If a supplier is always personal, select Remember the category for its next purchases. If you classified it incorrectly, change the category and review its tax treatment before confirming. Choose Personal on the purchase's Category card, with or without automatic purchases.
Non-deductible (income tax) and Non-creditable VAT have different effects: an actual company purchase remains in expenses and CxP even when a tax cannot be deducted. Use the Personal category to exclude a personal purchase. Non-creditable IVA on a business expense remains part of its cost; operating profit subtracts only creditable IVA, including partial and proportional credit.
If a personal FEC already declared self-assessed IVA, classification does not erase that tax debit or change the submitted XML. Astra preserves the declared tax without claiming its credit; your accountant must review any required tax correction.
Who can classify
Classifying has its own permission, Classify purchases, in the Purchase Invoices group of the roles. It comes on in Accountant and Assistant, and whoever can Edit purchase invoices also classifies. That way the accountant classifies and teaches Astra without being able to change amounts or void purchases. You manage roles in Team Collaboration.
- Seeing Purchases to review needs View purchase invoices.
- Classifying (the table, the window and Suppliers) needs Classify purchases or Edit.
- Answering a received document to Hacienda (Accept, Partial accept or Reject in Document reception) needs Classify purchases.
- Changing How do you pay them? (which account their cash purchases pay themselves from) needs Edit.
- Mark reviewed, link, create, retry and undoing a credit need Edit; closing an order needs Edit purchase orders.
Frequently asked questions
I changed a supplier's category. Do their old purchases change?
No. The new category applies to their purchases waiting in To classify and to the ones arriving from now on. To fix a purchase that was already classified, open it and change it in its detail.
I classified and a purchase is still in To classify.
It's from a closed month: Astra doesn't move entries in closed periods, so the purchase doesn't change and keeps waiting (with a padlock in the table). Your accountant can reopen the month in Accounting and then you classify it as usual.
What if my plan doesn't have Accounting?
Classifying works the same: the category feeds Home, the Business Snapshot and the D-270. The only thing you don't see is the ledger.
A supplier shows its ID instead of its name.
Its document arrived without the issuer's name. The row says No name on the document; give the contact its name in Contacts and it will show correctly next time.
Where do the categories come from? Are they accounting terms?
They're the expense categories Astra comes with —36, built from what the most used accounting software ships—, with everyday names (Combustibles, Alquiler de local u oficina, Teléfono e internet…) so anyone in the company knows which one to pick. They aren't a Hacienda list. The accounting terms sit behind them: each category goes to an account of its own in the chart —Combustibles to 6.3.09 Combustibles y lubricantes, Publicidad y mercadeo to 6.3.12 Propaganda y publicidad—. Everything is managed in Expenses → Categories; the full list with each account is in Expense categories. Three aren't expenses: Mercadería para la venta goes to inventory, Activo fijo to assets and Personal to what the owner owes you.
One invoice has things from different categories.
Split it by line: each line with its own category, and the purchase spread that way in the reports and the books. See A purchase with things from different categories.
Where did "Configure suppliers" go?
It's now Expenses → Suppliers, with more filters and suggestions. The old address takes you there.
Need more help?
Our team is ready to assist you.