Bill Segment Fields
A bill typically contains one bill segment for every active service agreement linked to its account. A bill segment is a portion of a bill that corresponds to one or more line items in a bill. Line items could be taxes, usage charges, and other fees.
It is expected that for consecutive bills, there will be no gaps between the bill_segment_end_date
of the first bill segment and the bill_segment_start_date
of the next bill's segment.
For example, if the first bill's segment had a bill_segment_end_date
of 2019-01-01 00:00:00, then the next bill's corresponding segment would be expected to have a bill_segment_start_date
of 2019-01-01 00:00:00 as well.
Field | Description |
---|---|
bill_id |
The primary utility identifier of a bill. This is used to disambiguate bills. Type: VARCHAR(40) Can Be Empty?: No. Primary Key. Note: This field is not required if you are sending your billing data in a single file to Oracle Utilities. See Billing Data File Specifications for more information. |
bill_segment_id |
The unique identifier of the bill segment in the source system. Type: VARCHAR(40) Can Be Empty?: No. Primary Key. Note: This field is not required if you are sending your billing data in a single file to Oracle Utilities. See Billing Data File Specifications for more information. |
service_agreement_id |
The utility’s service agreement identifier. This field corresponds to a service agreement in the Oracle Utilities Customer Care and Billing data model. See Service Agreement Fields for more detail. Type: VARCHAR(40) Can Be Empty?: No. |
bill_segment_start_datetime |
The start of the period of time covered by the bill segment’s charges. The bill period is inclusive of this datetime value. Type: DATETIME. See Date and Time Handling for details. Can Be Empty?: No. |
bill_segment_end_datetime |
The end of the period of time covered by the bill segment’s charges. The bill period is exclusive of this datetime value. Type: DATETIME. See Date and Time Handling for details. Can Be Empty?: No. |
usage_period_start_datetime |
The start date used by Oracle Utilities Meter Data Management to determine the correct interval data to process for the bill segment. The usage period is inclusive of this datetime value. It is typically a day behind the Type: DATETIME. See Date and Time Handling for details. Can Be Empty?: Yes. |
usage_period_end_datetime |
The end date used by Oracle Utilities Meter Data Management to determine the correct interval data to process for the bill segment. The usage period is exclusive of this datetime value. It is typically a day behind the Type: DATETIME. See Date and Time Handling for details. Can Be Empty?: Yes. |
estimated |
A Boolean value to indicate whether or not this value was estimated. Type: BOOLEAN. See Supported Boolean Formats for more information. Can Be Empty?: Yes. |
closing |
A Boolean value to indicate whether this is the final bill segment for the service agreement (that is, the service agreement has been stopped and this is the final bill segment). Allowed Values:
Type: BOOLEAN. See Supported Boolean Formats for more information. Can Be Empty?: Yes. |
bill_segment_status |
The status of the bill segment. Your Delivery Team will work with you during the launch process to confirm the status values to use. Example Values:
Note: The Type: VARCHAR(20) Can Be Empty?: No. |
bill_cycle_code |
The bill cycle of the bill segment's bill. This information is only populated on bills when they are generated on-schedule by the batch billing background process. Example Values: M01,M02 Type: VARCHAR(20) Can Be Empty?: Yes, but preferred to not be empty. |
bill_cycle_description |
A description of the bill cycle. Example Values: Monthly bill cycle - day 1, Monthly bill cycle - day 2 Type: VARCHAR(255) Can Be Empty?: Yes. |
current_amount |
The aggregate amount owed on a service agreement for the bill period. Type: DECIMAL(15,2). See Supported Decimal Formats for details. Can Be Empty?: No. |
outstanding_amount |
The aggregate total outstanding amount for the service agreement. This is likely the same as the current amount unless there is a budget billing arrangement. Note that budget billing arrangements are made per Service Agreement, and then rolled up to the bill/account level. Type: DECIMAL(15,2). See Supported Decimal Formats for details. Can Be Empty?: No. |
master_bill_segment_id |
The identifier of the master service agreement’s bill segment. The Type: VARCHAR(40) Can Be Empty?: Yes. |
bill_segment_updated_at |
The date at which the record was updated in the source system. If left blank, the field does not store any data. Type: DATETIME. See Date and Time Handling for details. Can Be Empty?: Yes. |