> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camo.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Land Sales (CSV)

> For customers with this module, we support a bulk land sale import via CSV. The import expects a row per sale parcel.

> [!NOTE]
>
> Requires CamoAg Enterprise subscription to access this feature.

#### **Requirements: Read First**

**Step 1**

Column names must appear exactly as written below (lowercase, with underscores). Columns you don't use can be left blank or removed.

**Step 2**

Every row must include the five **required** values: **county\_geoid**, **sale\_date**, **sale\_price**, **assessor\_parcel\_number**, and at least one recorded document number (**document\_number**, **document\_book\_number**, or **document\_page\_number**).

> [!NOTE]
>
> This import is for **county-recorded sales**. Because every row needs a recorded document, book, or page number from the county, sales that haven't closed and been recorded with the county yet can't be imported.

**Step 3**

One row per parcel. A sale that covers several parcels is written as several rows with the same county, sale date, and document number(s). They're combined into a single sale during the import.

**Step 4**

Dates use **YYYY-MM-DD** format (for example, 2024-03-15).

#### **Sales Import Template**

> [card] [Download the sales import template](https://docs.camo.ag/assets/camoag-sales-import-template.csv)
>
> A CSV with the header row for every supported column. Fill in the columns you have and leave the rest blank.

#### **How rows become sales**

CamoAg identifies each sale by its **county**, **sale year**, and **recorded document number(s)**. Rows that share those values are grouped into one sale:

* **Sale** fields are read from the first row in the group. **improvements** is the exception: the sale is marked as having improvements if any row says **true**.
* **Parcel** and **acreage** fields are read from every row, so each row adds a parcel to the sale. If two rows in a group have the same parcel number, only the last one is kept.
* **Buyer** and **Seller** fields are read from every row, and duplicate names are merged.
* **comments** from every row are combined, with duplicate lines removed.

Re-importing a row with the same county, sale year, and document number(s) updates the existing sale rather than creating a duplicate.

#### **Value formats**

| Type | Format | Examples |
| - | - | - |
| String | Any text | Smith Family Farms LLC |
| Number | Digits with an optional decimal point, no `$` or commas | 1250000, 78.5 |
| Date | YYYY-MM-DD | 2024-03-15 |
| Boolean | true / false (also accepts yes / no, y / n, 1 / 0) | true |
| Choice | One of the listed values, lowercase, exactly as written | auction, private\_sale |

The file must be a comma-delimited CSV (`.csv`). Other formats, such as Excel workbooks or pipe-delimited files, aren't supported.

***

## Required fields

> [!WARNING]
>
> Rows missing any of these values are rejected. The other rows in the file still import.

* **county\_geoid** (String) - The 5-digit county FIPS code (2-digit state code + 3-digit county code). Keep any leading zero.
  * Examples: 17037 (DeKalb County, IL), 01001 (Autauga County, AL)
* **sale\_date** (Date) - Date the sale closed
  * Examples: 2024-03-15
* **sale\_price** (Number) - Total sale price for all parcels in the sale, from 0 up to 999,999,999.99
  * Examples: 1250000
* **assessor\_parcel\_number** (String) - The parcel number (APN / PIN) that was sold. Used to match the sale to a parcel on the map. Formatting such as dashes and spaces is ignored when matching.
  * Examples: 08-16-200-004, 0816200004
* **document\_number** (String) **OR** **document\_book\_number** (String) **OR** **document\_page\_number** (String) - At least one is required; provide all that appear on the recorded deed.
  * Examples: document number 2024R-01202; book 345, page 3

***

## Sale fields

These describe the sale itself. For a multi-parcel sale, they only need to be filled in on the first row.

#### ***Required***

* **county\_geoid**, **sale\_date**, **sale\_price**, and a recorded document number (see [Required fields](#required-fields))

#### ***Optional***

* **sale\_type** (Choice) - How the property was sold. One of: `auction`, `listing`, `private_sale`, `other`. Defaults to **listing**
* **improvements** (Boolean) - **true** if the sale included buildings or other improvements
* **mls\_number** (String) - MLS listing number
  * Examples: 11987654
* **comments** (String) - Any notes about the sale. Comments from every row in the sale are combined
  * Examples: Sold with 2024 crop rights retained by seller

#### **Example**

| county\_geoid | sale\_date | sale\_price | sale\_type | document\_number | assessor\_parcel\_number | improvements | mls\_number |
| - | - | - | - | - | - | - | - |
| 17037 | 2024-03-15 | 1250000 | auction | 2024R-01202 | 08-16-200-004 | false | |

***

## Parcel fields

These describe each parcel in the sale. Fill them in on **every** row; each row adds one parcel to the sale.

#### ***Required***

* **assessor\_parcel\_number** (String) - The parcel number (APN / PIN). Formatting such as dashes and spaces is ignored when matching.
  * Examples: 08-16-200-004, 0816200004

#### ***Optional***

* **legal\_description** (String) - Legal description of the parcel
  * Examples: NE 1/4 SEC 16 T40N R5E
* **external\_id** (String) - Your own ID for this parcel or sale record

*Acreage*

Acres on this parcel by land type. Each defaults to **0** when blank. The sale's total acres are the sum across all of its rows.

* **dryland\_acres** (Number) - Non-irrigated cropland
  * Examples: 78.5
* **irrigated\_acres** (Number) - Irrigated cropland
* **pasture\_acres** (Number) - Pasture
* **crp\_acres** (Number) - Acres enrolled in the Conservation Reserve Program
* **wrp\_acres** (Number) - Acres enrolled in the Wetlands Reserve Program
* **wetland\_acres** (Number) - Wetland
* **woodland\_acres** (Number) - Woodland / timber
* **site\_acres** (Number) - Building site / homestead
* **non\_production\_acres** (Number) - Other non-productive land (roads, waterways, waste)

#### **Example**

A single sale of two parcels uses two rows with the same county, sale date, and document number. Sale fields only need to be filled in on the first row:

| county\_geoid | sale\_date | sale\_price | document\_number | assessor\_parcel\_number | dryland\_acres | crp\_acres | site\_acres |
| - | - | - | - | - | - | - | - |
| 17037 | 2024-03-15 | 1250000 | 2024R-01202 | 08-16-200-004 | 78.5 | | 1.5 |
| 17037 | 2024-03-15 | 1250000 | 2024R-01202 | 08-16-200-005 | 72 | 8 | |

> [!TIP]
>
> **sale\_price** is the total for the whole sale, not the price of each parcel. Repeat the same total on every row, or fill it in only on the first row. Every row still needs a value, so repeating it is the safer choice.

***

## Buyer and seller fields

Up to four buyers and four sellers per row. A buyer or seller without a **full\_name** is skipped.

#### ***Required***

None. A sale can import without buyers or sellers, but we strongly recommend including at least **buyer\_1\_full\_name** and **seller\_1\_full\_name**.

#### ***Optional***

*Names*

* **buyer\_1\_full\_name** (String) - Full name of the first buyer
  * Examples: John A Smith, Smith Family Farms LLC
* **seller\_1\_full\_name** (String) - Full name of the first seller
  * Examples: Mary Jones Revocable Trust
* The same columns exist for buyers and sellers **2**, **3**, and **4**: **buyer\_2\_full\_name**, **seller\_2\_full\_name**, and so on

*Mailing address*

Each buyer and seller has their own mailing address. Provide either the single-line **address** or the broken-out components. These are shown for **buyer\_1**; the same columns exist for every buyer and seller (**buyer\_2\_address**, **seller\_1\_address\_city**, and so on).

* **buyer\_1\_address** (String) - Mailing address, as a single line
  * Examples: 1234 Red St, Sycamore, IL 60178

OR

* **buyer\_1\_address\_line\_1** (String)
  * Examples: 1234 Red St
* **buyer\_1\_address\_line\_2** (String)
  * Examples: Suite 400
* **buyer\_1\_address\_city** (String)
  * Examples: Sycamore
* **buyer\_1\_address\_state** (String) - Two-letter state abbreviation
  * Examples: IL
* **buyer\_1\_address\_zipcode** (String)
  * Examples: 60178

> [!NOTE]
>
> If an address can't be read (for example, an unrecognized state or an invalid ZIP code), the buyer or seller still imports, without an address.

#### **Example**

| county\_geoid | sale\_date | sale\_price | document\_number | assessor\_parcel\_number | buyer\_1\_full\_name | buyer\_1\_address\_line\_1 | buyer\_1\_address\_city | buyer\_1\_address\_state | buyer\_1\_address\_zipcode | seller\_1\_full\_name | seller\_1\_address |
| - | - | - | - | - | - | - | - | - | - | - | - |
| 17037 | 2024-03-15 | 1250000 | 2024R-01202 | 08-16-200-004 | Smith Family Farms LLC | 1234 Red St | Sycamore | IL | 60178 | Mary Jones Revocable Trust | 55 Elm St, DeKalb, IL 60115 |

***

## Full example

A sale of two parcels, as it would look in a text editor:

```csv theme={null}
county_geoid,sale_date,sale_price,sale_type,document_number,assessor_parcel_number,dryland_acres,crp_acres,site_acres,improvements,buyer_1_full_name,buyer_1_address,seller_1_full_name,seller_1_address
17037,2024-03-15,1250000,auction,2024R-01202,08-16-200-004,78.5,,1.5,false,Smith Family Farms LLC,"1234 Red St, Sycamore, IL 60178",Mary Jones Revocable Trust,"55 Elm St, DeKalb, IL 60115"
17037,2024-03-15,1250000,auction,2024R-01202,08-16-200-005,72,8,,false,Smith Family Farms LLC,"1234 Red St, Sycamore, IL 60178",Mary Jones Revocable Trust,"55 Elm St, DeKalb, IL 60115"
```

> [!NOTE]
>
> Questions about the format, or ready to send a file? Email [support@camo.ag](mailto:support@camo.ag).
