blng__CreditNoteLine__c

Represents product, service, adjustment, or tax line items that were included in a credit note.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), 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 credit note line.
The default value is USD.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the credit note line.
blng__AllocatedRevenueAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The credit note's revenue amount that's allocated to invoice lines.
blng__Allocations__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The credit note line's amount that's allocated to invoice lines, excluding tax.
This field is a calculated field.
blng__Balance__c
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the credit note line that's available for allocation or refund. The balance is calculated using the formula
blng__TotalAmount__c - blng__Allocations__c + blng__Unallocations__c -  blng__Refunds__c - blng__Debits__c
.
This field is a calculated field.
blng__BaseCurrencyAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The credit note line's total amount in the base currency.
blng__BaseCurrencyFXDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date used to determine the foreign exchange rate when calculating the base currency amount.
blng__BaseCurrencyFXRate__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The foreign exchange rate that's used to convert the credit note line's total amount to the base currency amount.
blng__BaseCurrency__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The base currency that's used for converting currency during data export.
blng__BillToAccount__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The account that receives information about the credit note line.
This field is a relationship field.
Relationship Name
blng__BillToAccount__r
Relationship Type
Lookup
Refers To
Account
blng__BillToContact__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The user who receives information about the credit note line. This value is inherited from the account’s Bill to Contact field.
This field is a relationship field.
Relationship Name
blng__BillToContact__r
Relationship Type
Lookup
Refers To
Contact
blng__BillingFinanceBook__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The finance book associated with the related credit note.
This field is a relationship field.
Relationship Name
blng__BillingFinanceBook__r
Relationship Type
Lookup
Refers To
blng__FinanceBook__c
blng__BillingGLRule__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The General Ledger (GL) rule that's used to determine the GL accounts for the invoice line associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__BillingGLRule__r
Relationship Type
Lookup
Refers To
blng__GLRule__c
blng__BillingGLTreatment__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The billing treatment associated with the billing General Ledger (GL) rule of the credit note line.
This field is a relationship field.
Relationship Name
blng__BillingGLTreatment__r
Relationship Type
Lookup
Refers To
blng__GLTreatment__c
blng__BillingRule__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The billing rule associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__BillingRule__r
Relationship Type
Lookup
Refers To
blng__BillingRule__c
blng__BillingTreatment__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The billing treatment associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__BillingTreatment__r
Relationship Type
Lookup
Refers To
blng__BillingTreatment__c
blng__CalculateTax__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
This field indicates whether tax must be calculaled for the credit note line.
The default value is false.
blng__CreditNoteLineDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date when the credit note line was posted.
blng__CreditNote__c
Type
reference
Properties
Create, Filter, Group, Sort
Description
The credit note associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__CreditNote__r
Relationship Type
Master-detail
Refers To
blng__CreditNote__c
blng__Debits__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The allocated amount of the debit note that's associated with the credit note line.
This field is a calculated field.
blng__EffectiveTaxDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date when the tax is applied to the credit note line.
blng__EndDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The end date of the credit note line.
blng__FinancePeriod__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The finance period associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__FinancePeriod__r
Relationship Type
Lookup
Refers To
blng__FinancePeriod__c
blng__ImpactAmount__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The credit note line’s financial impact against the customer’s accounts receivable. When the credit note line is applied, the impact amount is the negative equivalent of the credit note line's amount.
This field is a calculated field.
blng__InvoiceLine__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The invoice that the credit note line was applied to.
This field is a relationship field.
Relationship Name
blng__InvoiceLine__r
Relationship Type
Lookup
Refers To
blng__InvoiceLine__c
blng__LegalEntityReference__c
Type
string
Properties
Create, Filter, Group, idLookup, Nillable, Sort, Update
Description
The legal entity associated with the credit note line.
blng__LegalEntity__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The legal entity associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__LegalEntity__r
Relationship Type
Lookup
Refers To
blng__LegalEntity__c
blng__NetAllocations__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The difference between the allocated and unallocated amounts of the credit note line.
This field is a calculated field.
blng__Notes__c
Type
textarea
Properties
Create, Nillable, Update
Description
Additional details about the credit note line.
blng__OverrideInitialRevenueEndDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date that overrides the revenue end date of the revenue schedule associated with the credit note line.
blng__OverrideInitialRevenueStartDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date that overrides the revenue start date of the revenue schedule associated with the credit note line.
blng__ProductName__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The name of the product associated with the credit note line.
blng__Product__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The product associated with the credit note line.
This field is a relationship field.
Relationship Name
blng__Product__r
Relationship Type
Lookup
Refers To
Product2
blng__RefundsAllocations__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount of the credit note line that's allocated to refunds.
This field is a calculated field.
blng__RefundsUnallocations__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount of the credit note line that's unallocated from refunds.
This field is a calculated field.
blng__Refunds__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount of the credit note line that's been refunded. This amount is calculated by using the formula
blng__RefundsAllocations__c - blng__RefundsUnallocations__c
.
This field is a calculated field.
blng__RevenueExpectedAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The expected revenue impact of the credit note line, if its different from the credit note line amount. You can configure creating revenue schedules for the credit note line with revenue expected amount field as the amount of the revenue schedule.
blng__RevenueLiabilityAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The revenue liability associated with the credit note line. You can configure creating revenue schedules for the credit note line with revenue liability amount field as the amount of the revenue schedule.
blng__RevenueMostLikelyAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The most likely revenue impact of the credit note line for revenue calculations when the revenue amount is uncertain.
blng__RevenueScheduleStatus__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the status of the revenue scehdule associated with the credit note line.
Possible values are:
  • Complete
  • Error
  • Queued
blng__StartDate__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The start date of the credit note line.
blng__Status__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the status of the credit note line.
Possible values are:
  • Cancelled
  • Draft
  • Posted
The default value is Draft.
blng__Subtotal__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The amount of the credit note line, excluding tax, that's not refunded. The subtotal is calculated by deducting the refund amount from the amount.
blng__TaxAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The amount of tax for the credit note line.
blng__TaxCity__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The city of the address that Salesforce Billing uses to calculate tax for the credit note line.
blng__TaxCode__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The reference code used when tax for the credit note line is calculated by an external tax engine.
blng__TaxCountry__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The country of the address that Salesforce Billing uses to calculate tax for the credit note line.
blng__TaxEngine__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The tax engine that has calculated tax for the credit note line.
Possible values are:
  • Avalara AvaTax
  • Standard
The default value is Standard.
blng__TaxErrorMessage__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The error message when the external tax engine fails to calculate tax for the credit note line.
blng__TaxGLRule__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The tax rule for recording tax transactions of the credit note line in an external general ledger.
This field is a relationship field.
Relationship Name
blng__TaxGLRule__r
Relationship Type
Lookup
Refers To
blng__GLRule__c
blng__TaxGLTreatment__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The tax treatment for recording tax transactions of the credit note line in an external general ledger.
This field is a relationship field.
Relationship Name
blng__TaxGLTreatment__r
Relationship Type
Lookup
Refers To
blng__GLTreatment__c
blng__TaxPercentageApplied__c
Type
percent
Properties
Create, Filter, Nillable, Sort, Update
Description
The percentage of tax that was applied to the credit note line.
blng__TaxRule__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The rule used to tax the credit note line.
This field is a relationship field.
Relationship Name
blng__TaxRule__r
Relationship Type
Lookup
Refers To
blng__TaxRule__c
blng__TaxState__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The state of the address that Salesforce Billing uses to calculate tax for the credit note line.
blng__TaxStatus__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the status of the tax calculation.
Possible values are:
  • Completed
  • Copied
  • Error
  • Processing
  • Queued
  • Warning
blng__TaxStreet2__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The street of the address that Salesforce Billing uses to calculate tax for the credit note line.
blng__TaxStreet__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The street of the address that Salesforce Billing uses to calculate tax for the credit note line.
blng__TaxTreatment__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The tax treatment assigned to the credit note line. Tax rules and their treatments define how Salesforce Billing processes tax for your transactions.
This field is a relationship field.
Relationship Name
blng__TaxTreatment__r
Relationship Type
Lookup
Refers To
blng__TaxTreatment__c
blng__TaxZipCode__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The postal code of the address that Salesforce Billing uses to calculate tax for the credit note line.
blng__TotalAmount__c
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The total amount of the credit note line that's available for allocation.
blng__Unallocations__c
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount that's been unallocated from the credit note line.
This field is a calculated field.