🧾 Extra: LCDPR generation

The LCDPR — Livro Caixa Digital do Produtor Rural (Brazil's digital cash book for rural producers) — is the file that an individual grower files with the Receita Federal (Brazil's federal tax authority) once a year, with all farming income and expenses, the properties they operate and the accounts the money went through. In upCampo, it comes out ready from the Tax cash book: one file per producer (CPF, the individual taxpayer ID) per year, checked by a plain-language checklist before it is generated, and stored with a version history.

It is not a separate screen, but the second view of the Tax cash book screen. The monthly book is where you review the month; this is where the reviewed year becomes the file.

📍 Location in the system

Menu: Financial > Tax cash book, LCDPR generation selector, at the top of the screen


🧩 Main function

Generate a producer's LCDPR file for a year, from the lines of that CPF's tax cash book, and store each generation so that the original filing and the amendments can be compared and downloaded again at any time.

💡 The file is only as good as the book. Everything that goes into the LCDPR comes from the lines of the tax cash book — classification, account, property, document. Fix things in the book (or in the financials, then update the month) before generating; generating again later is always possible, but it creates another version.

📋 The list of generations

The view shows all of the company's LCDPR generations, with Producer and Year at the top as optional filters. The columns:

ColumnWhat it shows
Producer · CPF · YearWhose file it is and for which year.
Version1 on the first generation for that CPF and year; 2, 3 and so on with each new generation.
Generated on · Generated byWhen and by whom.
Calculation methodActual result or 20% of gross revenue.
Revenue · Expenses · ResultThe totals that went into the file.
LinesHow many lines the file has.

Each row has the Download button, which delivers that generation's file exactly as it was saved. The New button opens a new generation, already set to the producer and year from the filter.

⚠️ Nothing is overwritten and there is no delete. Generating the same producer and year again creates version 2, then 3, and the previous ones stay on the list. That is on purpose: it lets you compare the file that was filed with the amendment, and download any of them again if the Receita asks.

⚙️ Generating the file: a single page

New opens the Generate the LCDPR (Rural Producer Digital Cash Book) dialog, with Producer and Year at the top and a status line — "Not generated yet for this producer and year" or "Last generation: version 2, on 10/08/2026 by John Doe". The rest is a single page, read from top to bottom:

  1. Checklist
  2. What goes into the file
  3. Calculation method
  4. Special cases
  5. Accountant
  6. Generate and download

1. Checklist

It runs by itself when the dialog opens — and again with the Check again button — and starts with a scoreboard:

ScoreboardWhat it means
"1 item blocks the file · 1 warning"There is at least one problem the Receita would reject. The file is not generated until it is fixed.
"You can generate: warnings do not block, but take a look first"Warnings only. The file is generated, but they usually point to something wrong.
"All set to generate the file"Nothing to fix.

Each item states the problem in plain language, what to do, and has a shortcut to the screen that fixes it — Open the tax settings, Open the rural properties, Open the bank accounts, Open the management accounts, Go to the tax cash book… The shortcut opens in a new tab: fix it there, come back and click Check again. What is in order also appears, in a separate list: What is in order.

Blocks the fileOnly warns
  • Missing producer data (address, number, neighborhood, state, municipality, ZIP code, e-mail) or an incomplete CPF
  • Property without the CIB (formerly NIRF) or with an incomplete address
  • Individual exploration without a CAEPF
  • Joint exploration (or under 100%) without the other participants, or shares that do not add up to 100%
  • Bank account without bank, branch or account number
  • Entry without property, without account, without the CPF/CNPJ of who paid or received, without document type or without description
  • Entry with a negative amount or outside the period
  • Year with no farming entries at all (see right below)
  • Book months not generated or not closed
  • Open items in the year's book
  • Joint exploration without a CAEPF
  • Entries without a tax classification, or with a zero amount — left out of the file
  • Classification opposite to the title (income as expense, or the other way around)
  • Entries outside the dates of the property's exploration
  • Invalid accountant CPF/CNPJ
⚠️ A year with no farming entries blocks the file — and the screen tells you why. An LCDPR with no farming income or expense makes no sense, and it is almost always a sign that the classification is wrong. In a real case, all 48 entries of one producer were marked Outside the farming activity, because their management account did not have the Consider for income tax flag. The list says exactly that — "All 48 entries in the book are marked Outside the activity. This comes from the 'Consider in income tax' option of the management accounts." — and tells you to flag the account and update the months in the book.

2. What goes into the file

The summary: Revenue, Expenses, Result, and how many Properties, Bank accounts and Entries go in. When there is an item that blocks, it shows as a preview: "the file is only generated after the blocking items are solved."

3. Calculation method

The How the result is calculated field has two options: Actual result (revenue minus expenses) or 20% of gross revenue. The field's help text is the rule that matters: "Must be the same as in the income tax return." Choose it together with the accountant.

4. Special cases

It is collapsed, because it is almost never used: Special cases (start of activity, death, estate, leaving the country). It holds the situation at the start of the period (normal, the activity started this year, or the filing obligation started mid-year), the special situation (death, estate, permanent departure from the country) with the date, and the start and end of the period — which only differ from 01/01 to 12/31 in those cases.

5. Accountant

Name, CPF or CNPJ, CRC (accountant's registration), E-mail and Phone with area code. The accountant is stored per company and is suggested from the last file — the one for the same producer and year, if there is one; otherwise, the last one generated in the company. Check it every year.

6. Generate and download

Generate and download saves the new version and downloads the file. It stays disabled while there is an item that blocks ("Solve the item that blocks the file") and requires insert permission on the tax cash book — without it, the dialog is for checking only. When it finishes, the screen tells you the version: "LCDPR generated and saved: version 3". Once generated, there is also Download the last generation (version N).

💡 The signature is not in the file. The downloaded file is not signed: it is signed with the grower's (or the proxy's) digital certificate when it is transmitted through e-CAC.

🤝 Example D — 70/30 joint ownership: each one files their own

Farm X is operated under joint ownership by João (70%) and Maria (30%). A sales title of R$ 100,000.00 is under João's CPF, and the money came into his account. Each one files their own LCDPR:

João's fileMaria's file
PropertyFarm X, joint ownership, 70%Farm X, joint ownership, 30%
ParticipantMaria, 30%João, 70%
IncomeR$ 70,000.00 in his bank accountR$ 30,000.00 on 999, because the money did not go through an account of hers

Expenses, withholding and interest follow the same split. Maria does not need any title or tax configuration of her own: her book is built from João's titles (see example E of the tax cash book).

  • A landlord comes in with 0%: for them, the lease is rent, not a crop result. So does a lender under a free-use agreement.
  • A spouse, only 50/50 or 100/0.
  • If each joint owner issues their own invoice, set up each one's exploration as individual: then each title already belongs only to whoever issued it, and there is nothing to split.

Explorations and participants are set up on the Exploited properties tab of the Tax Configuration.


🚧 What the system does not do

  • More than one file per CPF in the same year. The Receita accepts it when the grower has more than one accountant, each with part of the activity. It is rare, and upCampo generates a single file, with everything.
  • Import the LCDPR into the income tax program. The file is for e-CAC; the return is still filled out by the accountant.
  • Transmit. upCampo generates and stores the file; the transmission, with the signature, is done in e-CAC.
💡 Technical note, for the accountant. The file follows LCDPR layout 1.3 (version 0013). The records generated are 0000, 0010, 0030, 0040 with 0045, 0050, Q100, Q200 (one per month of the period, including months with no entries) and 9999. The account code in Q100 is the 0050 one for bank accounts, 000 for cash and 999 for cash in transit; the buyer's withholding and a participant's share always go out with 999. The entry type comes from the classification: Farming income = 1, Farming expense = 2, Income from an advance = 3. The Q100 balance starts at zero for the year and is cumulative.

📊 Reports and dashboards

There is no report of its own: the check is the checklist, and the result is the file itself, which can be downloaded again from the list of generations.

✅ Result: with LCDPR generation in upCampo:
  • The file comes out of the same book that was reviewed month by month, without retyping anything.
  • What the Receita would reject shows up beforehand, in plain language, with the way to fix it.
  • The original filing and each amendment are stored, ready to compare and download again.
  • Joint owners and partners each have their own file, with their own share, without a side spreadsheet.

❓ Frequently asked questions

Is there one LCDPR per year?

Yes: in upCampo, one file per producer (CPF) per year, with a version history. Generating the same CPF and year again creates the next version, without erasing the previous ones, and any version can be downloaded again from the list of generations.

I generated the wrong LCDPR. How do I delete it?

You do not delete it: upCampo keeps every generation. Fix whatever was wrong in the tax cash book or in the records and generate again — the next version comes out, and that is the one you transmit. The wrong version stays on the list as a record of what was done.

Why won't the LCDPR generate, saying there are no farming entries?

Because every entry of the year is marked Outside the farming activity or has no classification. The cause is almost always the Consider for income tax flag left unchecked on the farming management accounts. Check it on the right accounts, update the months in the tax cash book and check again.

Which calculation method should I choose in the LCDPR?

The same one as the grower's income tax return: Actual result (revenue minus expenses) or 20% of gross revenue. The accountant decides; upCampo only records the choice in the file.

Does the LCDPR file come out already signed?

No. The signature is not in the file: it is applied with the digital certificate when transmitting through e-CAC.

I have two accountants. Can I generate a file for each one?

The Receita accepts more than one file per CPF in the year when there is more than one accountant, but upCampo does not do that split: it generates a single file, with all of the grower's activity. It is a rare case; if it is yours, talk to upCampo support.

Does my joint-ownership partner need to file an LCDPR?

Each joint owner files their own, with only their share, if they are required to. In upCampo, her book and file are built from the holder's titles, using the percentage set up on the exploration: her share of the income goes on account 999, because the money did not go through an account of hers.

Can I generate the LCDPR with months still open?

Yes: a month that is not closed is only a warning. But the file comes out with the numbers of that moment, and an open month can still change. The recommendation is to close all twelve months in the tax cash book before the generation that will be transmitted.