📘 Screen: Accounting setup
The Accounting setup is where the company tells upCampo what each event becomes in the accounting: which accounts the work order write-off debits and credits, where a payment to a supplier goes, how a purchase or sales invoice is posted. It is the heart of the generation: the Accounting entries screen only applies what is configured here.
It works like the posting templates of accounting systems. Each type of operation has an accounting operation, with one line per part of the amount (the products value, freight, ICMS, interest…) and the debit account and credit account of each line.
📍 Location in the system
Menu: Accounting > Accounting setup
It is the second item of the Accounting menu, after the Chart of accounts, which must be imported first: the accounts chosen here are the chart's posting (detail) accounts. Overview in the Quick Guide - Accounting.
🧩 Main function
The screen has six tabs at the top. The first three hold the events that have a single rule, grouped by subject; the fourth, invoices; the fifth, taxes; the sixth, reports:
| Tab | What for |
|---|---|
| Crops and production | The work order write-off, the harvest and the cost of production sold. |
| Financial | Payments, receipts, standalone payables and receivables, revenue from contract sales and the operation for inbound invoices with no linked nature. |
| Inventory and assets | Fueling, requisitions and depreciation. |
| Invoices and natures | Invoices, which have several operations (purchase into inventory, purchase for consumption, sale of production, return…). Each operation states the accounts and which natures of operation use it. |
| Taxes | The tax calculation accounts, the tax regime of each issuer and the rates table (Taxes). |
| Reports | The accounting reports: Journal, Ledger, Trial balance, DRE (income statement), Balance sheet, Open items and Crop cost (Reports). |
In the first three tabs, each event is a panel, with just the accounts to choose and, for events that have that choice, the field that says how the event is posted.
At the top of the screen, next to the title, is the Create the standard operations button, which builds everything at once from a few accounts. It is the best place to start.
🪄 Create the standard operations
The button opens the upCampo standard operations wizard. It asks for the main accounts once, in five groups, and creates upCampo's ready-made operations with those accounts already in the lines. Each account has, below it, a sentence saying where it is used.
| Group | Accounts asked |
|---|---|
| Main | Suppliers · Customers · Cash and banks · Input stock · Consumption (purchase that goes straight to cost) · Growing crop · Sales revenue · Expenses of standalone payables |
| Payments and receipts | Interest paid · Interest received · Discounts obtained · Discounts granted · Withholdings payable · Withholdings to offset · Revenue of standalone receivables |
| Purchases and sales | Fixed assets · Goods to receive · Bonus goods revenue · Senar payable · Senar on sales · Production stock (grain, lint...) · Cost of production (sale) |
| Tax credits (only if you take them) | ICMS recoverable · PIS recoverable · COFINS recoverable |
| Assets (depreciation) | Depreciation (expense or cost) · Accumulated depreciation · Indirect production costs (optional, for an asset whose depreciation goes to cost) · Cost of disposed assets (optional, for the asset's disposal) |
Create the operations creates the 19 operations below. An operation the company already has is not touched, and the screen tells you when there is nothing to create.
| Code | Operation | Where it appears |
|---|---|---|
| UP01 | Purchase into inventory | Invoices and natures |
| UP02 | Purchase for consumption (goes straight to cost) | Invoices and natures |
| UP03 | Purchase of machinery, equipment or improvements | Invoices and natures |
| UP04 | Future-delivery billing (the goods have not arrived yet) | Invoices and natures |
| UP05 | Future-delivery shipment (what was already billed has arrived) | Invoices and natures |
| UP06 | Bonus goods received | Invoices and natures |
| UP07 | Purchase return | Invoices and natures |
| UP08 | Sale of production | Invoices and natures |
| UP09 | Does not post (shipment for repair, demonstration...) | Invoices and natures |
| UP10 | Field application (work order write-off) | Crops and production |
| UP11 | Payment | Financial |
| UP12 | Receipt | Financial |
| UP13 | Standalone payables (electricity, rent, land lease...) | Financial |
| UP14 | Standalone receivables | Financial |
| UP15 | Harvest (from the crop to the production stock) | Crops and production |
| UP16 | Asset depreciation | Inventory and assets and the Depreciation screen |
| UP17 | Fueling (fuel leaving the pump) | Inventory and assets |
| UP18 | Requisition (inventory issued for consumption) | Inventory and assets |
| UP19 | Tax calculation (ICMS, PIS/COFINS and Funrural) | Taxes |
After creating, the screen asks for the next step: "Now link the natures of each invoice operation", in the Invoices and natures section.
📌 Crops and production, Financial and Inventory and assets
The three tabs for events that have a single rule. Each one shows these panels, in this order:
| Tab | Panels |
|---|---|
| Crops and production | Work order write-off · Cost that arrives dated in a closed month · Harvest · Cost of production sold |
| Financial | Accounts payable: 1. Inbound transaction (invoice) with no linked nature · 2. Standalone payable (no invoice) · 3. Payment. Accounts receivable: 1. Revenue from contract sales · 2. Standalone receivable (no invoice) · 3. Receipt. |
| Inventory and assets | Fueling · Requisition · Depreciation · Tax depreciation |
Each event is a bordered panel: the title, a sentence on when it happens and, right below, the How it is posted field, for events that have that choice (Harvest, Fueling, Requisition and Depreciation). Below come the accounts: the Debit and the Credit, side by side. When the event posts more than one part of the amount (the payment, with interest, discount and withholding; depreciation, with its destinations and disposal), the name of the part appears to the left of each pair of accounts. Below the dropdown, when applicable, the screen says which record the account can come from first: "or the supplier one", "or the crop one", "or the bank account one".
Cost that arrives dated in a closed month
Right below the work order write-off. When a month's accounting has already been closed and a write-off dated in it arrives later (the forgotten lime), it comes in as a late entry in the following month, when the accountant allowed retroactive entries at closing. If blank, that cost goes to the crop, like the others, and moves on to production at harvest. With an Expense account, it goes straight to expense, without touching the season's cost.
Financial: payables and receivables in sequence
The Financial tab follows the path of the money, in two numbered groups. In Accounts payable, the debt is created by the inbound transaction (the invoice) or the standalone bill and settled by the payment. In Accounts receivable, the right to receive is created by the contract sale or the standalone bill and settled by the receipt. Panel 1 of each group (the operation for invoices with no linked nature and the revenue from contract sales) is just a field, with no accounts: the accounts come from the operation in Invoices and natures.
| Event | Lines (in the standard operations) |
|---|---|
| Work order write-off | Cost: D Growing crop (or the crop one) · C Input stock (or the product class one). It is the input leaving inventory for the field; on a return, the sides are reversed. |
| Accounts payable (payment) | Amount: D Suppliers (or the supplier one) · C Cash and banks (or the bank account one). Interest: D Interest paid · C bank. Discount: D bank · C Discounts obtained. Withholding: D bank · C Withholdings payable. |
| Accounts receivable (receipt) | Amount: D Cash and banks · C Customers (or the customer one). Interest: D bank · C Interest received. Discount: D Discounts granted · C bank. Withholding: D Withholdings to offset · C bank. |
| Standalone payables | Amount: D the one of the bill's management account; if it has none, the expense chosen here · C Suppliers (or the supplier one). |
| Standalone receivables | Amount: D Customers (or the customer one) · C the one of the bill's management account; if it has none, the revenue chosen here. |
| Harvest | Cost: D Production stock (or the product, class or crop grain one) · C Growing crop (or the crop one). It is the crop cost moving to the grain, the lint or the harvested product. |
| Fueling | Cost: D Consumption (or the product class one) · C Input stock (or the product class one). It is fuel leaving the pump. |
| Requisition | Cost: D Consumption (or the product class one) · C Input stock (or the product class one). It is material leaving inventory through the requisition. |
| Depreciation | To expense: D Depreciation (expense or cost) (or the asset one) · C Accumulated depreciation (or the asset one). To indirect costs: D Indirect production costs · C Accumulated depreciation. To the crop (work order hours): D Growing crop (or the crop one) · C Accumulated depreciation. Disposal: accumulated depreciation: D Accumulated depreciation · C Fixed assets (the asset one). Disposal: cost of the disposed asset: D Cost of disposed assets · C Fixed assets (the asset one). Only the first is required; the others ask for an account only when some asset uses that destination or is disposed of. If missing, the entry stays pending. |
How it is posted: harvest, fueling, requisition and depreciation
These four events have, right below the panel title, the How it is posted field, which says when the event becomes an entry. Choosing manual mode loses nothing: the accountant posts the event on the Accounting entries screen, with the Manual entry button, and the system builds the debit and credit lines for review.
Harvest
In the Harvest panel, in the Crops and production tab, the How it is posted field says when the growing crop moves to the production stock:
| Option | What happens |
|---|---|
| At the ticket (proportional to harvest; the rest when the plot is finished) | Each harvest load ticket moves to production the share of the field's cost that matches what was harvested, in proportion to the expected harvest yield in Season Planting. With no forecast, everything the field has accumulated goes when harvest starts. When the field is finished, the rest goes. |
| When the plot is finished in Season planting | The field's entire cost goes to production when the field is finished. |
| Manual, at season closing (Accounting entries screen) | The monthly generation does not post the harvest. The accountant posts it when closing the season, through Manual entry. |
The amount is the cost the field has accumulated in the season's work order write-offs. One entry per season and crop is posted in the month, and each line keeps the season and the crop. Only a load ticket of type Harvest counts: contract, standalone or purchase load tickets do not post a harvest.
Cost of production sold
Right after Harvest, in the same tab, is the Cost of production sold panel, with the field of the same name: where the cost that the sale of production removes from inventory comes from, in the Cost of production (sale) line of the sales operation.
| Option | What happens |
|---|---|
| Stock average cost | The product's average cost in inventory. Harvested grain enters inventory with no value, so the sale stays pending for lack of cost, or goes out without the cost, depending on the invoice operation's Product sold with no cost in stock option. |
| Computed by accounting (harvest cost ÷ kg harvested) | The default. The cost per kg comes from what the harvest moved to production divided by the kg harvested. It does not combine with harvest set to Manual: the screen will not save both together, because what goes into inventory becomes whatever the accountant posts. |
| Manual (the accountant posts it) | The sale does not post the cost and does not stay pending because of it. The accountant posts the cost through Manual entry. |
| Fixed value (season harvest parameter) | The cost in R$ per kg from the Fixed production cost, in the harvest parameter of the Season (season, crop and product). The Fixed cost by harvest parameter button, in the same panel, opens the list of parameters: choose the line, enter the Cost per kg and save, or use Clear the value. The parameter itself (crop, product and discounts) is set up on the Season screen. |
The quantity is what left inventory: the invoice's own, when it moves inventory, or that of the outbound load tickets linked to it. Without that quantity, the invoice stays pending with "Missing the quantity that left inventory for the cost of production".
Fueling, requisition and depreciation
In the Inventory and assets tab, the How it is posted field of the three panels has the same two options: Automatic, in the month generation or Manual (Accounting entries screen).
- Fueling: fuel leaving the pump, at the inventory average cost, in one entry per day. Calibration and transfers do not post. External fueling, at a gas station, comes in through the invoice.
- Requisition: inventory issued through the requisition, at average cost, in one entry per requisition. The maintenance work order does not post: what leaves inventory for it leaves through the requisition.
- Depreciation: every month, for the assets on the Depreciation screen, calculated by upCampo or entered by the accountant, asset by asset. Each asset says where its depreciation goes: expense, indirect costs or the crop, by work order hours. In the month an asset is disposed of, the disposal entry is posted too. The same panel appears there, in the Configuration tab.
Tax depreciation
Right below the Depreciation panel is the Tax depreciation panel. It does not post anything: the accounting always posts book depreciation. The field says how upCampo calculates the tax column of the Book × tax report, on the Depreciation screen:
| Option | What happens |
|---|---|
| Same as book | Tax depreciation is the same as book depreciation. There is no difference to track. |
| Each asset's tax rate (revenue service table) | Each asset uses the tax rate entered on it, on the Depreciation screen (the one from the Receita Federal table for that type of asset). |
| Accelerated rural depreciation (all in the start month) | The asset's entire value goes to tax depreciation in the month it starts depreciating. |
| Not applicable (cash book) | The company does not depreciate for tax purposes; the tax column stays at zero. |
For payments and receipts, the Amount is the instalment amount. Interest, discount and withholding adjust what actually left or entered the bank.
The two panels that open each group in the Financial tab have just one field:
| Field | Description |
|---|---|
| Revenue from contract sales | On the outgoing invoice of each delivery (default) or On the contract receivable, for the total. The contract generates the receivable for the full amount, and each delivery goes out on an invoice: the revenue is posted on one of the two, never on both. With the receivable chosen, the contract's outgoing invoice posts only the cost of production. In both cases, the accounts are those of the nature's operation (of the contract or of the invoice), in Invoices and natures. |
| Accounting operation for inbound transactions with no linked nature | The operation an inbound invoice uses when its nature is not in any operation. Usually Purchase into inventory. If blank, that invoice stays pending. |
Each tab has its own Save button, at the top right, which saves only that tab. Each line needs the debit account and the credit account (for depreciation, only the To expense line); a side that has "or the record one" can be left blank, and then only the record applies. If an account is missing on a side without a record, the screen tells you which event and which line.
🧾 Invoices and natures
The Invoices and natures section shows the Accounting operation list, with only the invoice operations, with Code, Name/Description and Active, and the New and Reload buttons. Selecting one opens its form.
The operation header
| Field | Description |
|---|---|
| Code | Required and unique: UP01, UP08… in the standard operations. |
| Name/Description | How the operation appears in the list and in the entry: Sale of production. |
| Posts | Unchecked, the invoice generates no entry. That is the case of Does not post (shipment for repair, demonstration). |
| Active | A deactivated operation goes out of use. |
| Product sold with no cost in stock | Applies to the Cost of production (sale) line, when inventory has no average cost for the product that left: The entry stays pending (default) or Do not post the cost of this product. |
| Notes | Free text. |
The buttons are Save, Cancel/View list and Delete. An operation linked to a nature cannot be deleted: deactivate it.
Accounts tab
The accounts posted when an invoice comes in with one of this operation's natures. One line per part of the amount. The grid shows Amount, Debit, Credit, Description, Validity and Posts, and each side reads as a sentence: "1.1.04.02 Inventory, or the product class one".
| Line field | Description |
|---|---|
| Order | The line's position in the grid. |
| Value part | Which invoice amount the line posts: Products value, Discount, Freight, Insurance, Other expenses, ICMS, ICMS-ST, IPI, PIS, COFINS, Senar, Cost of production (sale)… |
| Posts | An unchecked line does not post. That is how the recoverable-tax lines are set for those who do not take tax credits. |
| Debit account / Credit account | The account from the chart of accounts. With the field next to it filled in, it serves as the default when the record has no account. |
| Or the record one, if any | One for each side. Chooses the record looked up first: Product stock (class), Product consumption (class), Product revenue (class or crop), Cost of goods sold (class or crop), Growing crop (crop), Supplier (entity), Customer (entity), Bank (bank account), Bill management account, Fixed asset (equipment)… If blank, the account next to it is fixed. |
| Description | The entry text. It accepts {numero}, {fornecedor}, {cliente}, {produto}, {cultura}, {talhao}, {safra} and {parcela}, as in NF {numero} - {fornecedor}. If blank, the document's text applies. |
| Valid from / Valid until | The line's validity. If blank, no limit. Useful for taxes that come in or go out with the tax reform. |
The line buttons are Save line, Cancel and Delete. Each line needs, on each side, an account or a record it comes from.
Cost of production (sale)
In the Sale of production operation, the Cost of production (sale) line removes the sold production from inventory: D Cost of production (or the product, class or crop one) · C Production stock (or the product or class one). The amount is the quantity that left inventory times the cost per kg. The outflow is the invoice's own, when it moves inventory, or that of the outbound load tickets linked to the invoice.
Where the cost per kg comes from is chosen once, in the Cost of production sold field, in the Crops and production tab: the inventory average cost, the cost calculated by accounting from the harvest (the default), a fixed value from the season's harvest parameter, or manual.
With Stock average cost, when inventory has no average cost for the product (no history, zero or negative cost), the header's Product sold with no cost in stock option applies: the invoice stays pending, or goes out without that product's cost.
Natures tab
The natures of operation whose invoices use this operation: this is what decides, invoice by invoice, which operation applies. The grid shows Code and Nature of operation.
- Choose the nature in the Nature of operation field and click Link. If it was in another operation, the list shows "now in …" next to the name, and linking it here removes it from there.
- Unlink selected removes the nature from this operation.
The same link can be made from the other side: the nature of operation record has the Accounting tab, with its accounting operation.
- The accountant sees, on one screen, all the accounts for each type of invoice and each fixed event.
- With the wizard, the company goes from zero to the 19 operations in a few minutes.
- Harvest, fueling, requisitions and depreciation post on their own in the monthly generation, or are left for the accountant to post, depending on the choice made for each.
- The natures of operation decide on their own which rule each invoice follows.
🧮 Taxes
The Taxes tab has what the tax calculation uses, in three panels:
| Panel | What it contains |
|---|---|
| Tax calculation | The accounts of the tax calculation entry, one line per part: ICMS (D ICMS on sales · C ICMS payable), ICMS credit that offsets (D ICMS payable · C ICMS recoverable), the same for PIS and COFINS, and Funrural (D Funrural on sales · C Funrural payable). Enter only the accounts for the taxes the company pays; the other lines can stay blank. |
| Tax regime of each issuer | Each CPF or CNPJ that issues invoices on the farm has its own regime: Individual farmer, Presumed profit, Actual profit or Simples Nacional. Check Funrural on payroll for those who chose to contribute on payroll. Choose the line and the regime, and click Save. |
| Rates | The rates with the date they take effect (Valid from). Create default rates brings in the Funrural rates since 2018: individual farmer 1.2% + RAT 0.1% + Senar 0.2%; legal entity 1.7% + RAT 0.1% + Senar 0.25%. Check with the accountant. Did the law change? Add a new line with the date it takes effect, without deleting the old one. |
📊 Reports
The Reports tab, the last on the screen, shows one card per accounting report: General
Journal, Ledger, Trial balance, DRE (income statement), Balance sheet, Accounting open items and Crop cost by
season and crop (codes CTB.01.01 to CTB.04.02). Click the card to open the
report. What each one shows and what goes into them is in
Accounting entries,
which has the same tab.
❓ Frequently asked questions
Where do I start setting up the accounting?
After importing the chart of accounts, open Accounting > Accounting setup and use the Create the standard operations button. Enter the main accounts, create the operations and then link the natures of operation to each invoice operation, in the Invoices and natures section.
How does upCampo know which operation to use for an invoice?
By the invoice's nature of operation. Each nature is linked to an operation in the Natures tab of the Accounting setup. An inbound invoice whose nature has no operation uses the operation chosen in the Financial tab; an outgoing one stays pending.
What does "or the supplier one" mean on the account?
That upCampo first looks for the account on the supplier record and, only if it has none, uses the account written on the line. That is how one default account applies to everyone while the exceptions live on the record itself.
How do I separate electricity, rent and land lease in standalone payables?
Through the bill's management account. In Accounting > Accounts in records, Management accounts tab, give each management account its accounting account. The account in the Standalone payable panel only applies to a management account that has no accounting account.
Is contract sales revenue posted on the invoice or on the receivable?
On the outgoing invoice of each delivery, by default. In the Financial tab, the Revenue from contract sales field can be switched to the contract receivable, for the total amount; then the contract's outgoing invoice posts only the cost of production. The revenue is never posted on both.
My company does not take ICMS credits. What do I do?
Leave ICMS, PIS and COFINS recoverable blank in the wizard. The lines for those taxes are created switched off and the tax stays in the purchase cost. If you have already created the operations, uncheck Posts on those lines.
When does the crop cost move to the harvested grain inventory?
According to the How it is posted field of the Harvest panel, in Accounting > Accounting setup, Crops and production tab: at each harvest load ticket, in proportion to what was harvested; when the field is finished in Season Planting; or by hand, by the accountant, when closing the season. The amount is the cost the field has accumulated in the season's work order write-offs.
Why did the grain sale go out without cost or stay pending?
Because the Cost of production sold field is set to Stock average cost, and harvested grain enters inventory with no value. In the Crops and production tab, choose Computed by accounting (harvest cost ÷ kg harvested) or Fixed value (season harvest parameter), and generate the month again. If the open item mentions the quantity, the invoice did not move inventory and has no outbound load ticket linked.
Do fueling and requisitions generate accounting entries?
Yes, at the inventory average cost: pump fueling in one entry per day, requisitions in one entry per requisition, both debiting consumption and crediting inventory. In the Inventory and assets tab, the How it is posted field of each can be set to Manual, for the accountant to post. Calibration, transfers and maintenance work orders do not post.
Why does depreciation have five account lines?
Because each asset says, on the Depreciation screen, where its depreciation goes: expense, indirect costs or the crop, by work order hours. The last two lines are for the asset's disposal. Only the To expense line is required; the others ask for an account when some asset uses that destination or is disposed of.