Contract - muruthigitau/new GitHub Wiki
🚪 Contract Doctype Customizations
Overview
The Contract Doctype is an essential component in managing tenancy agreements, utility billing, and linking customers with properties. It is designed to streamline the lifecycle of a contract, from service request initiation to property management and billing. These customizations leverage advanced fields such as utility service requests, properties, billing increments, and recurring schedules to automate and manage various aspects of tenancy agreements.
Key Features
- Utility Service Request: Link a utility service request to the contract.
- Properties Management: Manage multiple properties under one contract.
- Billing Increments: Configure automatic rent or service charge increases over time.
- Recurring Billing: Set up recurring billing schedules for tenants or property utilities.
- Contract Start and End Dates: Automatically fetch start and end dates from the related utility service request to ensure consistency.
Custom Fields and Functionality
1. Utility Service Request Link
This field allows you to link the contract to a specific Utility Service Request, which provides details about the utility needs of the tenant. This helps to track utility requests and their relationship to the contract.
2. Requested Properties Table
This table allows you to manage multiple utility or rental properties within a single contract. Each property item supports advanced billing and automation features designed to streamline lease and invoice generation processes.
-
Utility Property: Links a specific property to this contract or service request.
-
Is Active?: Enable or disable this item from billing or invoicing actions.
-
📈 Billing Increment Settings
This allows you to configure automatic rent or service charge increases over time for each property:
- Increment Frequency: Set how often the increment should be applied (e.g., Monthly, Quarterly, Yearly).
- Increment Interval (Months): Define the number of months between each increment (e.g.,
12
for yearly,6
for semi-annual). - Increment Percentage: The percentage by which the amount increases at each interval. For example, enter
5
to increase by 5% each cycle.
-
🔁 Recurring Billing Schedule
This section automates recurring billing based on contract terms for properties:
- Frequency: Choose how often to generate recurring invoices (e.g., Monthly, Quarterly).
- Repeat on Day: For monthly/quarterly frequencies, specify the exact day (e.g., 5 for the 5th of each month).
- Repeat on Last Day of the Month: Automatically sets recurrence to the last day of the month, no matter the month's length.
- Submit on Creation: Automatically submits the generated document on creation, useful for seamless billing workflows.
-
📅 Date Constraints
- Start Date / End Date: Defines the period during which the utility contract or billing should remain active for the property. These dates are validated against the utility service request to ensure consistency.
4. Start and End Dates
The Start Date and End Date fields for the contract are automatically fetched from the linked Utility Service Request. This ensures that the contract is aligned with the actual service request and avoids inconsistencies between the requested service and contract duration.