Quittio next API

CalculationPolicy
in package

Read onlyYes
FinalYes

Decisions of the calculator that are not fixed by EN 16931. The policy is configuration of the run and not stored with the invoice: the same data calculated under another policy can give other amounts.

Table of Contents

Properties

$declaredAmounts  : DeclaredAmountsMode

Methods

__construct()  : mixed
fromArray()  : self
From the configuration key declared_amounts (keep, recalculate or reject).

Properties

Methods

fromArray()

From the configuration key declared_amounts (keep, recalculate or reject).

public static fromArray(array<string|int, mixed> $config) : self
Parameters
$config : array<string|int, mixed>
Tags
throws
ConfigurationException

for an unknown mode

Return values
self
On this page

Search results