📘 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:

TabWhat for
Crops and productionThe work order write-off, the harvest and the cost of production sold.
FinancialPayments, receipts, standalone payables and receivables, revenue from contract sales and the operation for inbound invoices with no linked nature.
Inventory and assetsFueling, requisitions and depreciation.
Invoices and naturesInvoices, 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.
TaxesThe tax calculation accounts, the tax regime of each issuer and the rates table (Taxes).
ReportsThe 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.

GroupAccounts asked
MainSuppliers · Customers · Cash and banks · Input stock · Consumption (purchase that goes straight to cost) · Growing crop · Sales revenue · Expenses of standalone payables
Payments and receiptsInterest paid · Interest received · Discounts obtained · Discounts granted · Withholdings payable · Withholdings to offset · Revenue of standalone receivables
Purchases and salesFixed 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.

CodeOperationWhere it appears
UP01Purchase into inventoryInvoices and natures
UP02Purchase for consumption (goes straight to cost)Invoices and natures
UP03Purchase of machinery, equipment or improvementsInvoices and natures
UP04Future-delivery billing (the goods have not arrived yet)Invoices and natures
UP05Future-delivery shipment (what was already billed has arrived)Invoices and natures
UP06Bonus goods receivedInvoices and natures
UP07Purchase returnInvoices and natures
UP08Sale of productionInvoices and natures
UP09Does not post (shipment for repair, demonstration...)Invoices and natures
UP10Field application (work order write-off)Crops and production
UP11PaymentFinancial
UP12ReceiptFinancial
UP13Standalone payables (electricity, rent, land lease...)Financial
UP14Standalone receivablesFinancial
UP15Harvest (from the crop to the production stock)Crops and production
UP16Asset depreciationInventory and assets and the Depreciation screen
UP17Fueling (fuel leaving the pump)Inventory and assets
UP18Requisition (inventory issued for consumption)Inventory and assets
UP19Tax calculation (ICMS, PIS/COFINS and Funrural)Taxes
💡 Blank account in the wizard. ICMS, PIS and COFINS recoverable left blank: the tax line is created switched off, and the tax stays in the purchase cost, which is the case for those who do not take tax credits. Production stock and Cost of production left blank: the sale cost line is created switched off, and the sale posts only the revenue. Any other blank account leaves the line without an account, and the entry comes out pending until someone completes it.

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:

TabPanels
Crops and productionWork order write-off · Cost that arrives dated in a closed month · Harvest · Cost of production sold
FinancialAccounts 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 assetsFueling · 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.

EventLines (in the standard operations)
Work order write-offCost: 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 payablesAmount: D the one of the bill's management account; if it has none, the expense chosen here · C Suppliers (or the supplier one).
Standalone receivablesAmount: D Customers (or the customer one) · C the one of the bill's management account; if it has none, the revenue chosen here.
HarvestCost: 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.
FuelingCost: D Consumption (or the product class one) · C Input stock (or the product class one). It is fuel leaving the pump.
RequisitionCost: D Consumption (or the product class one) · C Input stock (or the product class one). It is material leaving inventory through the requisition.
DepreciationTo 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:

OptionWhat 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 plantingThe 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.

OptionWhat happens
Stock average costThe 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:

OptionWhat happens
Same as bookTax 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.
⚠️ The regime depends on how the company is classified for tax purposes. Check with the accountant before choosing.
💡 Transfers do not post. A transfer between storage locations does not generate an entry, on purpose: the inventory account belongs to the product, not to the location, so the accounting balance does not change. A transfer between companies is an invoice.

For payments and receipts, the Amount is the instalment amount. Interest, discount and withholding adjust what actually left or entered the bank.

💡 Standalone bills: the management account separates the expense. Electricity, rent, land lease, bank fees: each standalone bill has its own management account, and it is that account's accounting account (set in Accounts in records, Management accounts tab) that goes into the entry. The account chosen in the panel is the fallback for a management account that has no accounting account yet.

The two panels that open each group in the Financial tab have just one field:

FieldDescription
Revenue from contract salesOn 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 natureThe 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.

💡 An event that has no operation yet appears with the lines of the upCampo template and empty accounts. When you save with the accounts filled in, the operation is created.

🧾 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

FieldDescription
CodeRequired and unique: UP01, UP08… in the standard operations.
Name/DescriptionHow the operation appears in the list and in the entry: Sale of production.
PostsUnchecked, the invoice generates no entry. That is the case of Does not post (shipment for repair, demonstration).
ActiveA deactivated operation goes out of use.
Product sold with no cost in stockApplies 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.
NotesFree 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 fieldDescription
OrderThe line's position in the grid.
Value partWhich invoice amount the line posts: Products value, Discount, Freight, Insurance, Other expenses, ICMS, ICMS-ST, IPI, PIS, COFINS, Senar, Cost of production (sale)…
PostsAn 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 accountThe 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 anyOne 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.
DescriptionThe 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 untilThe 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.

💡 How the invoice is split into lines. The Products value already includes ICMS, PIS and COFINS (they are "inclusive" taxes); IPI, ICMS-ST, freight, insurance and other expenses add to the total. That is why, on a purchase, the ICMS line posts D ICMS recoverable · C Inventory: it takes the tax out of the cost. A switched-off ICMS line leaves the tax in inventory.

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.

⚠️ Harvested grain enters inventory with no value. With Stock average cost, grain and lint go out at zero or low cost, because the harvest load ticket gives inventory no cost. For the sale to carry the crop cost, choose Computed by accounting or Fixed value (season harvest parameter).

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.
⚠️ Each nature stays in one operation only. And an outgoing invoice whose nature is not in any operation stays pending: there is no fallback operation for it. For inbound invoices, the fallback is the Accounting operation for inbound transactions with no linked nature, in the Financial tab.

The same link can be made from the other side: the nature of operation record has the Accounting tab, with its accounting operation.

✅ Result:
  • 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:

PanelWhat it contains
Tax calculationThe 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 issuerEach 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.
RatesThe 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.
💡 More than one issuer on the same farm. When the grower issues under their CPF and the company under its CNPJ on the same farm, each appears on its own line, with its own regime, and is calculated separately.

📊 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.