Unknown ZUGFeRD profile 'cius'

7 views
Skip to first unread message

Michael

unread,
Nov 13, 2025, 11:26:25 AM (3 days ago) Nov 13
to ZUGFeRD
Hallo - ich habe gesehen, dass die Mustang Gruppe schon länger nicht mehr aktiv ist, deshalb hier nochmal der gleich post.

Ich möchte aus Excel heraus mit VBA eine Zugferd Rechnung erstellen.
- Daten aus Excel in Word Vorlage --> pdf erstellen (wie bisher)
- aus Excel heraus xml Datei schreiben
- aus VBA mit Shell cmd, vbNormalFocus Mustang commandline aufrufen
- Win10, Office Professional Plus 2016

Sowohl beim Aufruf aus Excel als auch bei der Eingabe in die Eingabeaufforderung bekomme ich Fehlermeldungen, dass das Profil nicht bekannt ist:

Source PDF set to D:\RE_250095_6521078.pdf
ZUGFeRD XML set to D:\RE_250095_6521078.xml
Output PDF set to D:\RE_250095_6521078_ZF.pdf
Format set to zf
Version set to 2
Profile set to CIUS
[main] ERROR ROOT - Unknown ZUGFeRD profile 'cius'
java.lang.Exception: Unknown ZUGFeRD profile 'cius'
        at org.mustangproject.commandline.Main.performCombine(Main.java:720)
        at org.mustangproject.commandline.Main.main(Main.java:421)
Unknown ZUGFeRD profile 'cius'

java -jar "D:\Mustang-CLI-2.20.0.jar" --action combine --source "D:\RE_250095_6521078.pdf" --source-xml "D:\RE_250095_6521078.xml" --out "D:\RE_250095_6521078_ZF.pdf" --format zf --version 2 --profile BASIC --no-additional-attachments & pause
Source PDF set to D:\RE_250095_6521078.pdf
ZUGFeRD XML set to D:\Zugferd\RE_250095_6521078.xml
Output PDF set to D:\RE_250095_6521078_ZF.pdf
Format set to zf
Version set to 2
Profile set to BASIC
[main] ERROR ROOT - Unknown ZUGFeRD profile 'basic'
java.lang.Exception: Unknown ZUGFeRD profile 'basic'
        at org.mustangproject.commandline.Main.performCombine(Main.java:720)
        at org.mustangproject.commandline.Main.main(Main.java:421)

Vielen Dank für die Hilfestellung.
Michael

Matthias Hanft

unread,
Nov 13, 2025, 12:29:23 PM (3 days ago) Nov 13
to ZUGFeRD
Michael schrieb:
> Sowohl beim Aufruf aus Excel als auch bei der Eingabe in die Eingabeaufforderung bekomme ich Fehlermeldungen, dass das Profil nicht bekannt ist:
> [main] ERROR ROOT - Unknown ZUGFeRD profile 'cius'
> [main] ERROR ROOT - Unknown ZUGFeRD profile 'basic'

Nach meiner Erfahrung muss man die Profile mit *einem* Buchstaben
angeben, und zwar mit demjenigen, der bei "mustang --help" in
Klammern steht:

For ZUGFeRD v2: <M>INIMUM, BASIC <W>L, <B>ASIC, <C>IUS, <E>N16931, <X>Rechnung, EX<T>ENDED

Also C für CIUS, B für BASIC etc.

Gruß Matthias.

Michael

unread,
Nov 13, 2025, 1:31:10 PM (3 days ago) Nov 13
to ZUGFeRD
Hallo,
das scheint zu funktionieren, allerdings habe ich jetzt ein Problem mit der XML.
Gibt es irgendwo eine Beispiel XML für das Profil Basic und Cuius

Meine xml im Anhang...

[Fatal Error] :1:1: Content ist nicht zulässig in Prolog.
[main] INFO org.mustangproject.validator.ZUGFeRDValidator - No XML part provided
[main] ERROR org.mustangproject.validator.ZUGFeRDValidator - Fatal Error 8: File does not look like PDF nor XML (contains neither %PDF nor <?xml)
[main] INFO org.mustangproject.validator.ZUGFeRDValidator - File does not look like PDF nor XML (contains neither %PDF nor <?xml)
[main] INFO org.mustangproject.validator.ZUGFeRDValidator - Parsed PDF:absent XML:invalid Signature:null Checksum:null Profile:null Version:null Took:101ms Errors:[8] ErrorIDs: []
<?xml version="1.0" encoding="UTF-8"?>

<validation filename="RE_250095_6521078.xml" datetime="2025-11-13 19:25:28">
  <messages>
    <exception type="8">File does not look like PDF nor XML (contains neither %PDF nor &lt;?xml)</exception>
  </messages>
  <summary status="invalid"/>
</validation>

Grüße
Michael
RE_250095_6521078.xml

Matthias Hanft

unread,
Nov 13, 2025, 1:37:10 PM (3 days ago) Nov 13
to ZUGFeRD
Michael schrieb:
> das scheint zu funktionieren, allerdings habe ich jetzt ein Problem mit der XML.
> Gibt es irgendwo eine Beispiel XML für das Profil Basic und Cuius

Weiß ich nicht. Ich verwende nur das EN16931-Profil und erstelle
das XML selbst anhand der Doku von
https://www.ferd-net.de/publikationen-produkte/publikationen/detailseite/zugferd-233-deutsch
dort ist für alle Profile angekreuzt, welche Felder enthalten sein
müssen/können/dürfen und was da drinstehen kann/soll/darf/muss.

Das ist eigentlich schon alles. Gelegentlich muss ich noch nach
irgendwelchen ISO-Tabellen googeln (z.B. für die Einheiten, dass
"C62" "eins" bedeutet und "HUR" "Stunden" etc.).

Damit klappt's eigentlich ganz gut...

Gruß Matthias.

JEMS EBERHARD HORBEL

unread,
1:05 AM (14 hours ago) 1:05 AM
to ZUGFeRD
  DIRECT SENDER IS HERE LETS DEAL.

JEMS EBERHARD HORBEL




MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
SLBC PROVIDER
CREDIT CARD TOP UP
SEPA TRANSFER
WIRE TRANSFER
GLOBALPAY INC US


Thanks.



NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP FOR A SERIOUS DEAL.

+447756961978
Reply all
Reply to author
Forward
0 new messages