2.4 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 ${this.invoice.number} ${this.invoice.invoice_date} ${max(l.maturity_date for l in this.invoice.lines_to_pay if l.maturity_date)} ${this.type_code} ${this.invoice.currency.code} ${this.invoice.reference} ${this.sale_reference or 'NA'} ${this.sale_number} ${document['id']} ${document['code']} ${document['description']} ${document['binary']} ${document['text']} ${document['reference']} ${document['filename']} ${Party(this.accounting_supplier_party, this.accounting_supplier_address, this.accounting_supplier_tax_identifier, specification=specification)} ${Party(this.accounting_customer_party, this.accounting_customer_address, this.accounting_customer_tax_identifier, identifications=[this.accounting_customer_party.identifier_iso6523] if (specification or '').startswith('peppol') else None, specification=specification)} ${this.invoice.payment_term.description} ${this.invoice.payment_term.description} ${line.amount} ${line.maturity_date} ${-amount} ${-line.base} ${-line.amount} ${format((line.tax.rate * 100).normalize(), 'f')} ${line.tax.unece_category_code} ${format((line.tax.rate * 100).normalize(), 'f')} ${line.tax.legal_notice} ${line.tax.unece_code} ${-this.invoice.untaxed_amount} ${-this.invoice.untaxed_amount} ${-(this.invoice.untaxed_amount + this.invoice.tax_amount)} ${-(this.invoice.total_amount - this.invoice.untaxed_amount - this.invoice.tax_amount)} ${-this.invoice.total_amount} ${line_id} ${format(-Decimal(str(line.quantity)), 'f')} ${-line.amount} ${line.description} ${line.product_name or line.summary} ${line.product.code} ${gtin} ${tax_line.tax.unece_category_code} ${format((tax_line.tax.rate * 100).normalize(), 'f')} ${tax_line.tax.legal_notice} ${tax_line.tax.unece_code} ${line.unit_price}