Embedded commands examples for instantiate factur-x.xml with user supplied data

%%eczf1: G:\edocprinter\demo\ZUGFeRD\factur-x.xml\EN16931-template_Reisekostenabrechnung.xml%%

%%zx.doc.id: 280081%%
%%zx.doc.code: 380%%
%%zx.doc.date: %#DATEY#%%
%%zx.doc.note.cont: Listelotte Müllermann, Kumpelstr. 54, 12345 Berlin. %%
%%zx.doc.note.subj: REG%%
%%zx.doc.note.cont: Flug wurde vom Auftraggeber gebucht.%%
%%zx.doc.note.subj: AAI%%
%%zx.doc.note.cont: Reise: Musterreisekostenabrechnung. \nZweck: Workshop in Nürnberg %%
%%zx.doc.note.subj: AAI%%

%%zx.line.id: 1 %%
%%zx.line.name: Übernachtung. 2 Nächte Hotel%%
%%zx.line.gross: 158.88%%
%%zx.line.price: 158.88%%
%%zx.line.qty: 1%%
%%zx.line.vatrate: 7%%
%%zx.line.total: 158.88%%

%%zx.line.id: 2%%
%%zx.line.name: Verpflegung Frühstück%%
%%zx.line.gross: 11.76%%
%%zx.line.price: 11.76%%
%%zx.line.qty: 1%%
%%zx.line.vatrate: 19%%
%%zx.line.total: 11.76%%

%%zx.line.id: 3%%
%%zx.line.name: Fahrtkosten, Taxi Berlin%%
%%zx.line.gross: 23.36%%
%%zx.line.price: 23.36%%
%%zx.line.qty: 1%%
%%zx.line.vatrate: 7%%
%%zx.line.total: 23.36%%

%%zx.line.id: 4%%
%%zx.line.name: Fahrtkosten, Taxi Nürnberg%%
%%zx.line.gross: 20.09%%
%%zx.line.price: 20.09%%
%%zx.line.qty: 1%%
%%zx.line.vatrate: 7%%
%%zx.line.total: 20.09%%

%%zx.ahta.buyer.id: GE2020211%%
%%zx.ahta.buyer.name: Kunden AG Mitte%%
%%zx.ahta.buyer.post: 69876%%
%%zx.ahta.buyer.line1: Kundenstraße 15%%
%%zx.ahta.buyer.city: Frankfurt%%
%%zx.ahta.buyer.country: DE%%

%%zx.ahta.ref.id: 42389%%
%%zx.ahta.ref.fname: Hotelrechung-Immo.pdf%%
%%zx.ahta.ref.code: 916%%

%%zx.ahta.ref.id: 42390%%
%%zx.ahta.ref.fname: Taxi-Nue-und-Berlin.pdf%%
%%zx.ahta.ref.code: 916%%

%%zx.ahts.vat.tax: 14.16%%
%%zx.ahts.vat.basis: 202.33%%
%%zx.ahts.vat.rate: 7%%

%%zx.ahts.vat.tax: 2.23%%
%%zx.ahts.vat.basis: 11.76%%
%%zx.ahts.vat.rate: 19%%

%%zx.ahts.terms: Zahlbar innerhalb 30 Tagen netto, 3%\n Skonto innerhalb 10 Tagen bis%%
%%zx.ahts.ltotal: 214.09%%
%%zx.ahts.btotal: 214.09%%
%%zx.ahts.tax: 16.39%%
%%zx.ahts.gtotal: 230.48%%
%%zx.ahts.prepaid: 0.00%%
%%zx.ahts.due: 230.48%%