Error: Reference.push failed: first argument contains undefined in property

Error: Reference.push failed: first argument contains undefined in property

I have calculated billValue and it seems to go as undefined whereas billValue (which is total of selected items price and mentioned as {{totalValue()}} ) is working fine within the form

formControlName="billValue"

This is a firebase error

Pls help