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

%%eczf1: G:\ZUGFeRD\factur-x.xml\template-EN16931_Einfach.xml%%

%%zx.doc.id: 471103%%
%%zx.doc.code: 380%%
%%zx.doc.date: %#DATEY#%%
%%zx.doc.note.cont: Rechnung gemäß Bestellung vom %#DATEX#%%

%%zx.line.id: 1 %%
%%zx.line.gid: 4012345001235%%
%%zx.line.name: Trennblätter A4%%
%%zx.line.unit: H87%%
%%zx.line.gross: 9.90%%
%%zx.line.price: 9.90%%
%%zx.line.qty: 20%%
%%zx.line.vatrate: 19%%
%%zx.line.total: 198.00%%

%%zx.line.id: 2 %%
%%zx.line.gid: 4000050986428%%
%%zx.line.sid: ARNR2%%
%%zx.line.name: Joghurt Banan%%
%%zx.line.unit: H87%%
%%zx.line.gross: 5.50%%
%%zx.line.price: 5.50%%
%%zx.line.qty: 50%%
%%zx.line.vatrate: 7%%
%%zx.line.total: 275.00%%

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

%%zx.ahtd.date: 20241124%%

%%zx.ahts.vat.tax: 37.62%%
%%zx.ahts.vat.basis: 198.00%%
%%zx.ahts.vat.rate: 19%%
%%zx.ahts.vat.tax: 19.25%%
%%zx.ahts.vat.basis: 275.00%%
%%zx.ahts.vat.rate: 7%%

%%zx.ahts.duedate: 20241225%%
%%zx.ahts.desc: Zahlbar innerhalb 30 Tagen netto bis 25.12.2024%%
%%zx.ahts.ltotal: 473.00%%
%%zx.ahts.btotal: 473.00%%
%%zx.ahts.tax: 56.87%%
%%zx.ahts.gtotal: 529.87%%
%%zx.ahts.prepaid: 0.00%%
%%zx.ahts.due: 529.87%%