replace text:p="set_lang(invoice.party.lang)"
replace text:p="invoice.set_lang(invoice.party.lang)"
for each="line in invoice.report_address.splitlines()" line /for
format_date(invoice.invoice_date or today, invoice.party.lang)
Provisional Sale	invoice.number
Contract N°	invoice.report_contract_number
Name of the vessel	invoice.report_shipment or ''
NÂ° of Bill of Lading	invoice.reference or ''
Shipped on board date Port of loading	format_date(invoice.report_bl_date, invoice.party.lang) if invoice.report_bl_date else '' invoice.report_loading_port
Port of discharge	invoice.report_discharge_port
Goods description	QUANTITY: format_number(invoice.report_lbs, invoice.party.lang) if invoice.report_lbs != '' else '' LBS (format_number(invoice.report_net, invoice.party.lang) if invoice.report_net != '' else '' MTS) invoice.report_product_description CROP invoice.report_crop_name invoice.report_attributes_name H.S CODE 5201.0090 invoice.report_incoterm ALL DETAILS AND SPECIFICATIONS AS PER BENEFICIARYâ€™S PROFORMA INVOICE NO. invoice.report_proforma_invoice_number DATED format_date(invoice.report_proforma_invoice_date, invoice.party.lang) if invoice.report_proforma_invoice_date else ''.
BALES	Gross KGS	NET KGS
invoice.report_nb_bale	format_number(invoice.report_gross, invoice.party.lang) if invoice.report_gross != '' else ''	format_number(invoice.report_net, invoice.party.lang) if invoice.report_net != '' else ''
		Equivalent to LBS	format_number(invoice.report_lbs, invoice.party.lang) if invoice.report_lbs != '' else ''
At format_currency(invoice.lines[0].unit_price, invoice.party.lang, invoice.currency, digits=invoice.lines[0].__class__.unit_price.digits[1]) if invoice.lines else '' PER LB FREIGHT VALUE: invoice.currency.symbol if invoice.currency else 'USD' format_number(invoice.freight_amount, invoice.party.lang) if hasattr(invoice, 'freight_amount') else '' WE CERTIFY THAT THE MERCHANDISE IS OF BRAZIL ORIGIN L/C NUMBER invoice.reference or '' IMPORTER H.S. CODE NOS. invoice.party_tax_identifier.type_string if invoice.party_tax_identifier else '5201.0090' IMPORTERâ€™S NTN invoice.party_tax_identifier.code if invoice.party_tax_identifier else ''	invoice.currency.symbol if invoice.currency else 'USD' format_currency(invoice.total_amount, invoice.party.lang, invoice.currency)
NET LANDED WEIGHTS, ACTUAL TARE, NO FRANCHISE
for each="tax in invoice.taxes" V.A.T. tax.description or '' RATE /for
S/I Controller Name	invoice.report_si_number invoice.report_controller_name
Payment	if test="invoice.report_payment_description" for each="description in invoice.report_payment_description.splitlines()" description /for /if ICT TRADING S.A.
invoice.report_trader_initial / invoice.report_operator_initial