client vatnumber idnumber

I tried the following

$client.VatNumber, $client.vatNumber, $vatNumber $VatNumber
none of them is showing vat number of client

same for idnumber
where can i find the field naming conventio

The variable is $client.vatNumber. You’ll need to create a test invoice to see the value as it’s blank for the client used in the invoice designer.