Formats an invoice account's billing address into a single comma-separated
line, dropping any missing pieces. Note: the organization address uses a
different field shape (line1/line2) and is formatted separately.
Parameters
__namedParameters: InvoiceAccountAddressParts
Returns string
Example
formatInvoiceAccountAddress({ address_1:"1 Main St", city:"Boston", state:"MA", zip:"02101", country:"US" }); // "1 Main St, Boston, MA 02101, US"
Formats an invoice account's billing address into a single comma-separated line, dropping any missing pieces. Note: the organization address uses a different field shape (
line1/line2) and is formatted separately.