${value.strftime('%Y%m%d')}
${this.quote_text(party.name)}
${id}
${TradeAddress(address)}
${tax_identifier.code}
${address.postal_code}
${this.quote_text(lines[0])}
${this.quote_text(lines[1])}
${(lines[2])}
${(address.city)}
${address.country.code}
${this.quote_text(address.subdivision.name)}
${amount * this.type_sign}
${this.tax_unece_code(tax)}
${tax.legal_notice}
${base * this.type_sign}
${this.tax_category_code(tax)}
${tax.rate * 100}
urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended
${this.quote_text(this.invoice.number)}
${this.quote_text(this.invoice.description)}
${this.type_code}
${DateTime(this.invoice.invoice_date)}
${comment_line['content_code']}
${comment_line['content']}
${comment_line['subject_content']}
${line_id}
${line.product.code}
${this.quote_text(line.product.name if line.product else '')}
${this.quote_text(line.description)}
${this.round_unitprice(line.unit_price)}
${line.quantity * this.type_sign}
${TradeTax(this.invoice_line_tax(line))}
${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.quote_text(this.invoice.reference)}
${this.quote_text(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.quote_text(this.payment_reference)}
${this.invoice.currency.code}
1
30
Wire transfer
${banknumber.number_compact}
${this.quote_text(banknumber.account.bank.party.rec_name)}
${banknumber.account.bank.bic}
${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}