Component builders, assembly, application, and the interchange category vocabulary for Tax.
Attributes
Members list
Type members
Classlikes
The UNTC 5305 duty, tax, and fee category vocabulary as EN 16931 admits it - the ten codes a compliant invoice line or VAT breakdown carries - with each category's discipline as data. World models the semantics; documents and their profiles stay downstream.
The UNTC 5305 duty, tax, and fee category vocabulary as EN 16931 admits it - the ten codes a compliant invoice line or VAT breakdown carries - with each category's discipline as data. World models the semantics; documents and their profiles stay downstream.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The per-category discipline for Category, from the EN 16931 validation artefacts: BR-CL-17 and BR-CL-18 fix the ten codes, each family's -09 rule the arithmetic, and each -10 rule the reason.
The per-category discipline for Category, from the EN 16931 validation artefacts: BR-CL-17 and BR-CL-18 fix the ten codes, each family's -09 rule the arithmetic, and each -10 rule the reason.
Attributes
Why a structure was refused, each case carrying the offending label.
Why a structure was refused, each case carrying the offending label.
Attributes
- Companion
- object
- Supertypes
-
class WorldErrorclass TypedErrortrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Inherited and Abstract types
The names of the product elements.
The names of the product elements.
Attributes
- Inherited from:
- Mirror
The name of the type.
The name of the type.
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Prices tax-exclusively, where amount is the net.
Prices tax-exclusively, where amount is the net.
Attributes
Prices tax-inclusively, where amount is the gross.
Prices tax-inclusively, where amount is the gross.
Attributes
Assembles a structure: labels distinct, every base declared before the component that reads it, and no base withheld - a withheld amount never enters the gross, so cascading over one would read an amount the document does not carry.
Assembles a structure: labels distinct, every base declared before the component that reads it, and no base withheld - a withheld amount never enters the gross, so cascading over one would read an amount the document does not carry.
Attributes
A component levied on the net.
A component levied on the net.
Attributes
A component levied on the net plus the named components' charged amounts.
A component levied on the net plus the named components' charged amounts.
Attributes
Givens
Givens
Extensions
Extensions
Prices tax-exclusively: amount is the net, and each component is computed forward from it and rounded at the currency's scale by mode. Named for the pricing direction, so that net and gross keep one reading each across the module.
Prices tax-exclusively: amount is the net, and each component is computed forward from it and rounded at the currency's scale by mode. Named for the pricing direction, so that net and gross keep one reading each across the module.
Attributes
Prices tax-inclusively: amount is the gross, the shelf price. The combined factor is inverted, the components computed forward, and the net reconciled as gross minus their sum - so net + tax == gross holds by construction and the rounding remainder lands in the net deterministically. Withholding computes on the reconciled net. Undefined where a degenerate structure would divide by zero.
Prices tax-inclusively: amount is the gross, the shelf price. The combined factor is inverted, the components computed forward, and the net reconciled as gross minus their sum - so net + tax == gross holds by construction and the rounding remainder lands in the net deterministically. Withholding computes on the reconciled net. Undefined where a degenerate structure would divide by zero.
Attributes
The same extraction at an explicit scale - the controlled form for currencies that record no minor unit, completing the family's explicit-scale pair.
The same extraction at an explicit scale - the controlled form for currencies that record no minor unit, completing the family's explicit-scale pair.