Loading
Salesforce now sends email only from verified domains. Read More

Salesforce Billing Invoice Line generates with 0 for blng__Quantity__c

Publish Date: Feb 2, 2026
Description

In Salesforce Billing, invoice lines may generate with a quantity of zero. This behavior typically occurs when Sub Invoice Lines are present and account for the total quantity of the Invoice Line. Invoice Plans can also be created and define a quantity of zero on Invoice Lines. 

Resolution

First, confirm if Invoice Plans are defined and no Invoice Lines manually define quantity. To determine whether Sub Invoice Lines exist for a given Invoice Line, review the Invoice Line Type field (blng__InvoiceLineState__c). You can also examine the Sub Invoice Lines related list to verify the associated records and confirm the total quantity.

Invoice Line Type values:

  • Merged – Indicates that Sub Invoice Lines are associated with the Invoice Line.
  • Regular – Indicates that no Sub Invoice Lines exist for the Invoice Line.
Knowledge Article Number

004637096

 
Loading
Salesforce Help | Article