{if $organization_name} {else} {/if}
INVOICE Invoice Date: {$domain_organization}
{$display_name} ({$organization_name}){$display_name} {$invoice_date} {if $domain_street_address } {$domain_street_address} {/if} {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}
{$street_address} {$supplemental_address_1} Invoice Number: {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if} {if $domain_state }{$domain_state}{/if}
{$supplemental_address_2} {$stateProvinceAbbreviation} {$invoice_id} {if $domain_city} {$domain_city} {/if} {if $domain_postal_code } {$domain_postal_code} {/if}
{$city} {$postal_code} Reference: {if $domain_country} {$domain_country} {/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email} {$domain_email} {/if}
{* FIXME: style this table so that it looks like the text version (justification, etc.) *} {foreach from=$lineItem item=value key=priceset name=taxpricevalue} {if $smarty.foreach.taxpricevalue.index eq 0} {else} {/if} {if $value.tax_amount != ''} {else} {/if} {/foreach} {foreach from = $dataArray item = value key = priceset} {if $priceset} {elseif $priceset == 0} {/if} {/foreach} {if $is_pay_later == 0} {/if}


Description Quantity Unit Price {$taxTerm} Amount {$defaultCurrency}


{if $value.html_type eq 'Text'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:"..."}
{/if}
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}% {$value|crmMoney:$currency} TOTAL NO {$taxTerm} {$value|crmMoney:$currency}

TOTAL {$defaultCurrency} {$amount|crmMoney:$currency}
{if $contribution_status_id == $refundedStatusId} LESS Amount Credited {else} LESS Amount Paid {/if} {$amount|crmMoney:$currency}

AMOUNT DUE: {$amountDue|crmMoney:$currency}
DUE DATE: {$dueDate}
PAYMENT ADVICE

To:
{$domain_organization}
{$domain_street_address} {$domain_supplemental_address_1}
{$domain_supplemental_address_2} {$domain_state}
{$domain_city} {$domain_postal_code}
{$domain_country}
{$domain_phone}
{$domain_email}


{$notes}
{if $is_pay_later == 1} {else} {/if}
Customer: {$display_name}
Invoice Number: {$invoice_id}

Amount Due: {$amount|crmMoney:$currency}
Amount Due: {$amountDue|crmMoney:$currency}
Due Date: {$dueDate}

{if $contribution_status_id == $refundedStatusId}
{if $organization_name} {else} {/if}
CREDIT NOTE Date: {$domain_organization}
{$display_name} ({$organization_name}){$display_name} {$invoice_date} {if $domain_street_address } {$domain_street_address} {/if} {if $domain_supplemental_address_1 } {$domain_supplemental_address_1} {/if}
{$street_address} {$supplemental_address_1} Credit Note Number: {if $domain_supplemental_address_2 } {$domain_supplemental_address_2} {/if} {if $domain_state } {$domain_state} {/if}
{$supplemental_address_2} {$stateProvinceAbbreviation} {$creditnote_id} {if $domain_city} {$domain_city} {/if} {if $domain_postal_code } {$domain_postal_code} {/if}
{$city} {$postal_code} Reference: {if $domain_country} {$domain_country} {/if}
{$source} {if $domain_phone} {$domain_phone} {/if}
{if $domain_email} {$domain_email} {/if}
{* FIXME: style this table so that it looks like the text version (justification, etc.) *} {foreach from=$lineItem item=value key=priceset name=pricevalue} {if $smarty.foreach.pricevalue.index eq 0} {else} {/if} {if $value.tax_amount != ''} {else} {/if} {/foreach} {foreach from = $dataArray item = value key = priceset} {if $priceset} {elseif $priceset == 0} {/if} {/foreach} {if $is_pay_later == 0} {/if}


Description Quantity Unit Price {$taxTerm} Amount {$defaultCurrency}


{if $value.html_type eq 'Text'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:"..."}
{/if}
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}% {$value|crmMoney:$currency} TOTAL NO {$taxTerm} {$value|crmMoney:$currency}

TOTAL {$defaultCurrency} {$amount|crmMoney:$currency}
LESS Credit to invoice(s) {$amount|crmMoney:$currency}

REMAINING CREDIT {$amountDue|crmMoney:$currency}
CREDIT ADVICE

Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us

Customer: {$display_name}
Credit Note#: {$creditnote_id}

Credit Amount: {$amount|crmMoney:$currency}
{/if}