<%= individual_full_name(@invoice.parties.seller_party.individual) %>
<%= @invoice.parties.seller_party.individual.address_in_spain.address %>
<%= @invoice.parties.seller_party.individual.address_in_spain.post_code %> <%= @invoice.parties.seller_party.individual.address_in_spain.town %>
<%= @invoice.parties.seller_party.tax_identification.tax_identification_number %>
<%= @invoice.parties.buyer_party.legal_entity.corporate_name %>
<%= @invoice.parties.buyer_party.legal_entity.address_in_spain.address %>
<%= @invoice.parties.buyer_party.legal_entity.address_in_spain.post_code %> <%= @invoice.parties.buyer_party.legal_entity.address_in_spain.town %>
<%= @invoice.parties.buyer_party.tax_identification.tax_identification_number %>
Concepto | Importe |
---|---|
<%= item.item_description %> | <%= to_currency(item.total_cost) %> |
Base imponible | <%= to_currency(@invoice.invoices.first.invoice_totals.total_gross_amount_before_taxes) %> |
<%= tax_description(tax.tax_type_code, tax.tax_rate) %> | <%= to_currency(tax.tax_amount.total_amount) %> |
TOTAL | <%= to_currency(@invoice.invoices.first.invoice_totals.invoice_total) %> |