{ts}TAX INVOICE{/ts}
{if $organization_name} {$organization_name}
Attention: {$display_name}
{else} {$display_name} {/if} {$street_address}
{if $supplemental_address_1}{$supplemental_address_1}
{/if} {if $city} {$city}
{/if} {if $postal_code}{$postal_code}
{/if} {if $country}{$country}
{/if}
{ts}Invoice Date:{/ts}
{$invoice_date}

{ts}Invoice Number:{/ts}
{$id}

{ts}Reference:{/ts}
{$source}

VAT Number:
233276867
{$domain_organization}
{if $domain_street_address }{$domain_street_address}
{/if} {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}
{/if} {if $domain_city}{$domain_city} {/if} {if $domain_postal_code }{$domain_postal_code}
{/if} {if $domain_phone}Tel: {$domain_phone}
{/if} {if $domain_email}{$domain_email}
{/if} www.mpaonline.org.uk
{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 && $value != 0} {/if} {/foreach}


{if $contribution_status_id == $pendingStatusId && $is_pay_later == 1} {/if}
{ts}Description{/ts} {ts}Quantity{/ts} {ts}Unit Price{/ts} {$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}
{if $value.html_type eq 'Text' || $value.field_title == ''} {$value.label} {else} {$value.field_title} - {$value.label} {/if} {if $value.description && $value.description != $value.label && $value.description != $value.field_title}
{$value.description|truncate:30:"..."}
{/if}
{$value.qty} {$value.unit_price|crmMoney:$currency}{$value.tax_rate}%{ts 1=$taxTerm}-{/ts}{$value.subTotal|crmMoney:$currency}
{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts} {$value|crmMoney:$currency} {ts 1=$taxTerm }TOTAL %1{/ts} {$value|crmMoney:$currency}
{ts 1=$defaultCurrency}TOTAL %1{/ts} {$amount|crmMoney:$currency}
{if $contribution_status_id == $refundedStatusId} {ts}Amount Credited{/ts} {else} {ts}Amount Paid{/ts} {/if} {$amountPaid|crmMoney:$currency}

{ts}AMOUNT DUE:{/ts} {$amountDue|crmMoney:$currency}
{ts 1=$dueDate}DUE DATE: %1{/ts}
{if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}
{if $organization_name} {else} {/if}
{ts}CREDIT NOTE{/ts} {ts}Date:{/ts} {$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} {ts}Credit Note Number:{/ts} {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} {ts}Reference:{/ts} {if $domain_country}{$domain_country}{/if}
{$source} {if $domain_email}{$domain_email}{/if}
{if $domain_phone}{$domain_phone}{/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}


{ts}Description{/ts} {ts}Quantity{/ts} {ts}Unit Price{/ts} {$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


{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}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts} {$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts} {$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts} {$amount|crmMoney:$currency}
{ts}LESS Credit to invoice(s){/ts} {$amount|crmMoney:$currency}

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

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

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

{ts}Credit Amount:{/ts} {$amount|crmMoney:$currency}
{/if}
Our Bank Details are:
Bank Account Name: Music Publishers Association Limited
Bank Name: Coutts & Co
Bank Address: Media Banking, 440 Strand, London, WC2R 0QS
Bank Account Number: 07528531
Sort-Code: 18-00-02
IBAN: GB14COUT18000207528531
BIC: COUTGB22
Company Registration No: 140248. Registered Office: 2nd Floor, Synergy House, 114-118 Southampton Row, London, WC1B 5AA.