DTO implementation of Tax mapping. Tax mapping
name | data type | constraints | description |
---|---|---|---|
auditableField | array of AuditableFieldDto | ||
id | number | Identifier | |
accountTaxCategoryCode | string | Account tax category | |
chargeTaxClassCode | string | Charge tax class | |
validFrom | number | Tax mapping validity from. | |
validTo | number | Tax mapping validity to. | |
sellerCountryCode | string | Seller's country | |
buyerCountryCode | string | Buyer's country | |
filterEL | string | max size: 2000, min size: 0 | Filter expression |
taxCode | string | Tax to apply | |
taxEL | string | max size: 2000, min size: 0 | Tax expression |
taxScriptCode | string | Script to determine tax | |
priority | number | Priority. Higher value, higher the priority | |
source | string | max size: 2000, min size: 0 | Record's data source |
originId | number | Original record that this record overrides (identifier) |
Example
{ "auditableField" : [ { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." }, { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." } ], "id" : 12345, "accountTaxCategoryCode" : "...", "chargeTaxClassCode" : "...", "validFrom" : 12345, "validTo" : 12345, "sellerCountryCode" : "...", "buyerCountryCode" : "...", "filterEL" : "...", "taxCode" : "...", "taxEL" : "...", "taxScriptCode" : "...", "priority" : 12345, "source" : "...", "originId" : 12345 }