---
title: "Charge data model"
url: "https://docs.unified.to/property/charge/model"
description: "The Charge data model object in Unified's Charge API: 17 fields, including created_at, updated_at and building_id, with types and enum values."
date: "2026-11-30T21:28:45.423Z"
updated: "2026-11-30T21:28:45.423Z"
---
# Charge data model

Updated: November 30, 2026

 View field support, webhooks, and list parameters for each integration on the [Supported Integrations](https://docs.unified.to/property/integrations.md) page. 

| Field                    | Type                 | Required | Description                                                                                                                                                  |
| ------------------------ | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id                       | string               | No       | unique identifier for the charge                                                                                                                             |
| created\_at              | string (date-time)   | No       | when the charge was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                         |
| updated\_at              | string (date-time)   | No       | when the charge was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                    |
| building\_id             | string               | No       | pointer to the Property Building                                                                                                                             |
| unit\_id                 | string               | No       | pointer to the Property Unit                                                                                                                                 |
| lease\_id                | string               | No       | pointer to the Property Lease                                                                                                                                |
| resident\_id             | string               | No       | pointer to the Property Resident                                                                                                                             |
| type                     | enum                 | No       | the normalized charge type Values: RENT, DEPOSIT, FEE, LATE\_FEE, UTILITY, CREDIT, OTHER                                                                     |
| name                     | string               | No       | the charge code or name, eg. Rent or Pet fee                                                                                                                 |
| description              | string               | No       | free-text description of the charge                                                                                                                          |
| currency                 | string               | No       | ISO 4217 currency code                                                                                                                                       |
| total\_amount            | number               | No       | the charge amount                                                                                                                                            |
| balance\_amount          | number               | No       | the unpaid part of the charge                                                                                                                                |
| due\_at                  | string (date-time)   | No       | when the charge is due (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                              |
| posted\_at               | string (date-time)   | No       | when the charge was posted to the ledger (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                            |
| is\_recurring            | boolean              | No       | whether the charge recurs                                                                                                                                    |
| metadata                 | PropertyMetadata\[\] | No       | custom field values                                                                                                                                          |
| metadata\[\].id          | string               | No       | the custom field identifier                                                                                                                                  |
| metadata\[\].slug        | string               | No       | the custom field key                                                                                                                                         |
| metadata\[\].value       | object               | No       | the custom field value                                                                                                                                       |
| metadata\[\].namespace   | string               | No       | the scope or origin of the custom field                                                                                                                      |
| metadata\[\].format      | enum                 | No       | the data type of the value Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE\_SELECT, MULTIPLE\_SELECT, MEASUREMENT, PRICE, YES\_NO, CURRENCY, URL |
| metadata\[\].extra\_data | object               | No       | additional data about the custom field                                                                                                                       |

## TypeScript

```typescript
export type PropertyCharge = {
	id?: string; // unique identifier for the charge
	created_at?: string-time; // when the charge was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // when the charge was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	building_id?: string; // pointer to the Property Building
	unit_id?: string; // pointer to the Property Unit
	lease_id?: string; // pointer to the Property Lease
	resident_id?: string; // pointer to the Property Resident
	type?: 'RENT' | 'DEPOSIT' | 'FEE' | 'LATE_FEE' | 'UTILITY' | 'CREDIT' | 'OTHER'; // the normalized charge type
	name?: string; // the charge code or name, eg. Rent or Pet fee
	description?: string; // free-text description of the charge
	currency?: string; // ISO 4217 currency code
	total_amount?: number; // the charge amount
	balance_amount?: number; // the unpaid part of the charge
	due_at?: string-time; // when the charge is due (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	posted_at?: string-time; // when the charge was posted to the ledger (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	is_recurring?: boolean; // whether the charge recurs
	metadata?: []; // custom field values
	raw?: any; // raw data from the integration
} 
```

## Zod

```typescript
import { z } from 'zod';

export const ZodPropertyCharge = z.object({
	id: z.string().optional().describe("unique identifier for the charge"),
	created_at: z.string-time().optional().describe("when the charge was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("when the charge was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	building_id: z.string().optional().describe("pointer to the Property Building"),
	unit_id: z.string().optional().describe("pointer to the Property Unit"),
	lease_id: z.string().optional().describe("pointer to the Property Lease"),
	resident_id: z.string().optional().describe("pointer to the Property Resident"),
	type: z.enum("RENT", "DEPOSIT", "FEE", "LATE_FEE", "UTILITY", "CREDIT", "OTHER").optional().describe("the normalized charge type"),
	name: z.string().optional().describe("the charge code or name, eg. Rent or Pet fee"),
	description: z.string().optional().describe("free-text description of the charge"),
	currency: z.string().optional().describe("ISO 4217 currency code"),
	total_amount: z.number().optional().describe("the charge amount"),
	balance_amount: z.number().optional().describe("the unpaid part of the charge"),
	due_at: z.string-time().optional().describe("when the charge is due (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	posted_at: z.string-time().optional().describe("when the charge was posted to the ledger (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	is_recurring: z.boolean().optional().describe("whether the charge recurs"),
	metadata: z.array().optional().describe("custom field values"),

});
```

## Python

```python
import dataclasses

@dataclasses.dataclass
class PropertyChargeType(str, Enum):
	RENT = 'RENT'
	DEPOSIT = 'DEPOSIT'
	FEE = 'FEE'
	LATE_FEE = 'LATE_FEE'
	UTILITY = 'UTILITY'
	CREDIT = 'CREDIT'
	OTHER = 'OTHER'

@dataclasses.dataclass
class PropertyCharge:
	"""unique identifier for the charge"""
	id: Optional[str]
	"""when the charge was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""when the charge was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""pointer to the Property Building"""
	building_id: Optional[str]
	"""pointer to the Property Unit"""
	unit_id: Optional[str]
	"""pointer to the Property Lease"""
	lease_id: Optional[str]
	"""pointer to the Property Resident"""
	resident_id: Optional[str]
	"""the normalized charge type"""
	type: Optional[PropertyChargeType]
	"""the charge code or name, eg. Rent or Pet fee"""
	name: Optional[str]
	"""free-text description of the charge"""
	description: Optional[str]
	"""ISO 4217 currency code"""
	currency: Optional[str]
	"""the charge amount"""
	total_amount: Optional[int]
	"""the unpaid part of the charge"""
	balance_amount: Optional[int]
	"""when the charge is due (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	due_at: Optional[str]
	"""when the charge was posted to the ledger (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	posted_at: Optional[str]
	"""whether the charge recurs"""
	is_recurring: Optional[bool]
	"""custom field values"""
	metadata: Optional[PropertyPropertyChargeMetadata]

```
