Newer Version Available

This content describes an older version of this product. View Latest

blng__BillingTransaction__c

Represents information about each invoice plan line of a billing schedule. A billing transaction stores the billed amount based on the relationship between the invoice plan line’s commencement date and the order product’s service start and end dates. When a billing transaction is invoiced, Salesforce Billing copies data from the billing transaction to the invoice line.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Fields

Field Details
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The three-letter ISO 4217 currency code associated with the billing transaction's schedule when multiple currencies are enabled.
The default value is USD.
Name
Type
string
Properties
Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
Description
The name of the billing transaction.
blng__AmountToBeBilled__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount to be billed for the order product related to the billing transaction's billing schedule. The formula for calculating this amount when its blank is
1IF( ISBLANK( blng__OverrideAmount__c ) , blng__Amount__c  , blng__OverrideAmount__c )
.
This field is a calculated field.
blng__Amount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The amount that has been invoiced for the order product by the billing transaction.
blng__BillingSchedule__c
Type
reference
Properties
Create, Filter, Group, Sort
Description
The billing schedule related to the billing transaction.
This field is a relationship field.
Relationship Name
blng__BillingSchedule__r
Relationship Type
Master-detail
Refers To
blng__BillingSchedule__c
blng__BillingTargetDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date when the invoice line is created for the order product.
blng__CalculatedStatus__c
Type
string
Properties
Filter, Nillable, Sort
Description
The status of the billing transaction by using the formula
1IF(ISPICKVAL(blng__OverrideStatus__c, "--None--"), TEXT(blng__Status__c), TEXT(blng__OverrideStatus__c))
.
This field is a calculated field.
blng__InvoicePlanLine__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The invoice plan associated with the billing transaction.
This field is a relationship field.
Relationship Name
blng__InvoicePlanLine__r
Relationship Type
Lookup
Refers To
blng__InvoicePlanLine__c
blng__OverrideAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
blng__OverrideBillingTargetDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date that overrides the billing target date of the billing transaction.
blng__OverrideStatus__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The value that overrides the Status value of the billing transaction.
Valid value is Cancelled.
blng__Quantity__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The quantity of the order product that the billing transaction invoices.
blng__ServicePeriodEnd__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The start date of the service period of the order product associated with the billing schedule.
blng__ServicePeriodStart__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The end date of the service period of the order product associated with the billing schedule.
blng__Source__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The source of the billing transaction.
Valid values are:
  • External
  • Standard
blng__Status__c
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
The status of the billing transaction.
Valid values are:
  • Billed
  • Cancelled
  • Pending