Category

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

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
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case AE extends Category
case B extends Category
case E extends Category
case G extends Category
case K extends Category
case L extends Category
case M extends Category
case O extends Category
case S extends Category
case Z extends Category

Value members

Concrete methods

def exclusive: Boolean
Extension method from Category

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
Extension method from Category

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
Extension method from Category

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