ELSTER XML Processing Tools
# draft
ceric --pathXml info.xml --dataType Kontoinformation
# send
ceric --usecase send --pathXml ustva-2026.xml --dataType UStVA_2026
# transmit
ceric --usecase transmit --pathXml inbox.xml --dataType PostfachAnfrage_31
# download
cotto --objectUuid aaaaaaaa-bbbb-4ccc-dddd-eeeeeeeeeee
use Rechtlogisch\MiniEric\Ceric;
use Rechtlogisch\MiniEric\Dto\CericInput;
$ceric = new Ceric();
$result = $ceric->draft(new CericInput(
dataType: 'Kontoinformation',
pathXml: '/path/to/info.xml',
));
if ($result->cericOutput->exitCode === '0') {
echo "PDF generated: " . $result->cericOutput->pathOutputFile;
}Trusted by developers worldwide
Last updated