Znode

POST taxrules

Creates a new tax rule.

Request Information

» Parameters

Name Description Additional information
model The model of the tax rule.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "CountryCode": "sample string 1",
  "CountyFips": "sample string 2",
  "CountyName": "sample string 3",
  "Custom1": "sample string 4",
  "Custom2": "sample string 5",
  "Custom3": "sample string 6",
  "ExternalId": "sample string 7",
  "Gst": 1.0,
  "Hst": 1.0,
  "IsInclusive": true,
  "PortalId": 9,
  "Precedence": 10,
  "Pst": 1.0,
  "SalesTax": 1.0,
  "StateCode": "sample string 11",
  "TaxClass": {
    "$id": "2",
    "DisplayOrder": 1,
    "ExternalId": "sample string 1",
    "ActiveInd": true,
    "Name": "sample string 3",
    "PortalId": 1,
    "TaxClassId": 4,
    "StoreName": "sample string 5",
    "CustomErrorMessage": "sample string 6",
    "TaxRuleList": {
      "$id": "3",
      "TaxRules": {
        "$id": "4",
        "$values": [
          {
            "$ref": "1"
          },
          {
            "$ref": "1"
          },
          {
            "$ref": "1"
          }
        ]
      },
      "PageIndex": 1,
      "PageSize": 1,
      "TotalResults": 1,
      "TotalPages": 1
    }
  },
  "TaxClassId": 1,
  "TaxRuleId": 12,
  "TaxRuleType": {
    "$id": "5",
    "ClassName": "sample string 1",
    "Description": "sample string 2",
    "IsActive": true,
    "Name": "sample string 4",
    "PortalId": 1,
    "TaxRuleTypeId": 5
  },
  "TaxRuleTypeId": 1,
  "TaxShipping": true,
  "Vat": 1.0
}