jongotlin/hogia

Installs: 3 732

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-09-08 09:57:34 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()