Category

world.money.Tax.Category
See theCategory companion enum
object Category

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

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Category.type

Members list

Type members

Classlikes

enum Reason

A category's exemption-reason rule: forbidden, required as free text or code, required with the rule's own stated meaning, or unruled.

A category's exemption-reason rule: forbidden, required as free text or code, required with the rule's own stated meaning, or unruled.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Givens

Givens

given derived$CanEqual: CanEqual[Category, Category]

Extensions

Extensions

extension (c: Category)
def exclusive: Boolean

Whether the category excludes all others from one document: O alone, since an out-of-scope invoice is wholly out of scope.

Whether the category excludes all others from one document: O alone, since an out-of-scope invoice is wholly out of scope.

Attributes

def reason: Reason

The exemption-reason discipline - the only discriminator between a zero-rated supply and an exempt one, which are otherwise identical on the document.

The exemption-reason discipline - the only discriminator between a zero-rated supply and an exempt one, which are otherwise identical on the document.

Attributes

def zero: Boolean

Whether the category's tax amount is forced to zero - six of the ten. S, L, and M compute taxable times rate; B carries no amount rule.

Whether the category's tax amount is forced to zero - six of the ten. S, L, and M compute taxable times rate; B carries no amount rule.

Attributes