jongotlin/hogia

Installs: 4 043

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:package

1.1.1 2022-10-08 06:01 UTC

This package is auto-updated.

Last update: 2024-11-08 10:24:31 UTC


README

Create Hogia Lön Plus xml document

Install with composer: composer require jongotlin/hogia

$fileInfo = new \JGI\Hogia\Model\FileInfo();
$fileInfo->setCompanyName('Foo company');
$payTypeInstruction = new \JGI\Hogia\Model\PayTypeInstruction('111', 'A', '123');
$hogiaDocument = (new \JGI\Hogia\Generator())->createHogiaDocument($fileInfo, [$payTypeInstruction]);

echo $hogiaDocument->saveXML()