${value.strftime('%Y%m%d')} ${party.name} ${id} ${TradeAddress(address)} ${tax_identifier.code} ${address.postal_code} ${address.building_name} ${lines[0]} ${lines[1]} ${lines[2]} ${lines[3]} ${lines[4]} ${address.street_name} ${address.city} ${address.country.code} ${address.country.name} ${address.subdivision.code} ${address.subdivision.name} ${address.building_number} ${amount * this.type_sign} ${tax.unece_code} ${tax.legal_notice} ${base * this.type_sign} ${tax.unece_category_code} ${format((tax.rate * 100).normalize(), 'f')} ${this.invoice.number} ${this.type_code} ${DateTime(this.invoice.invoice_date)} ${line_id} ${line.product.code} ${line.product.name} ${line.description} ${this.invoice.currency.round(line.unit_price)} ${format(Decimal(str(line.quantity * this.type_sign)), 'f')} ${TradeTax(tax.tax)} ${line.amount} ${TradeParty(this.seller_trade_party, this.seller_trade_address, this.seller_trade_tax_identifier)} ${TradeParty(this.buyer_trade_party, this.buyer_trade_address, this.buyer_trade_tax_identifier)} ${this.invoice.reference} ${this.invoice.reference} ${TradeParty(this.ship_to_trade_party, this.ship_to_trade_address)} ${TradeParty(this.ship_from_trade_party, this.ship_from_trade_address)} ${this.payment_reference} ${this.invoice.currency.code} ${DateTime(this.invoice.invoice_date)} 1 ${TradeTax(tax.tax, tax.amount, tax.base)} ${this.invoice.payment_term.description} ${DateTime(line.maturity_date)} ${(line.amount_second_currency or (line.debit - line.credit)) * this.type_sign} ${this.invoice.untaxed_amount * this.type_sign} ${this.invoice.untaxed_amount * this.type_sign} ${this.invoice.tax_amount * this.type_sign} ${this.invoice.total_amount * this.type_sign} ${this.invoice.amount_to_pay * this.type_sign}