Hi, I’m looking to add a shipping address to a custom invoice. How do I call out the shipping information? Is there a variable available like $clientDetails?
Hi,
You can see the list of variables by clicking ‘Help’ on the custom design page.
I don’t see anything for shipping address.
-
$invoice.invoiceNumber
-
$invoice.invoiceDate
-
$invoice.dueDate
-
$invoice.discount
-
$invoice.poNumber
-
$invoice.publicNotes
-
$invoice.amount
-
$invoice.terms
-
$invoice.footer
-
$invoice.partial
-
$invoice.partialDueDate
-
$account.name
-
$account.idNumber
-
$account.vatNumber
-
$account.address1
-
$account.address2
-
$account.city
-
$account.state
-
$account.postalCode
-
$account.country.name
-
$account.phone
-
$client.name
-
$client.idNumber
-
$client.vatNumber
-
$client.address1
-
$client.address2
-
$client.city
-
$client.state
-
$client.postalCode
-
$client.country.name
-
$client.phone
-
$client.balance
-
$contact.firstName
-
$contact.lastName
-
$contact.email
-
$contact.phone
Hmm… sorry, looks like an oversight
You can access the shipping fields by adding ‘shipping’ before the standard address field. For example, $client.address1 vs $client.shippingAddress1
$client.shippingAddress1 and $client.shippingAddress2 work great!
How about city, state, postal code and country?
$client.country.name and $account.country.name dont’ appear to be working either.
$contact.phone $contact.email $client.phone dont’ seem to be working either.
It’s possible not all shipping fields are supported, they’re currently shown in the app when converting an invoice to a delivery note. A workaround could be add a custom client field called “Shipping Address”
To be clear, you are saying that invoice ninja does not support shipping addresses on invoices.