Taxtemplates

Get TaxTemplates

get
Authorizations
Query parameters
FilterstringOptional

Filter the results. See ODATA documentation for more information

Example: name eq 'Adam' and age gt 20
OrderBystringOptional

Sorting the results. See ODATA specification for more information

Example: accountNumber Desc
ModifiedAfterstring · date-timeOptional

Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.

Example: 07/01/2025 00:00:00
ModifiedBeforestring · date-timeOptional

Apply a separate filter to only get records that has been modified Before the specified date time.

Example: 07/01/2025 00:00:00
PageSizeinteger · int32Optional

Page Size

Example: 20
PageNumberinteger · int32Optional

Page Number

Example: 1
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
get
GET /TaxTemplates HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "pageNumber": 1,
  "pageSize": 1,
  "totalPages": 1,
  "totalCount": 1,
  "nextPage": "https://example.com",
  "previousPage": "https://example.com",
  "firstPage": "https://example.com",
  "lastPage": "https://example.com",
  "data": [
    {
      "description": "text",
      "effectiveFrom": "2025-07-05T22:16:01.307Z",
      "effectiveTo": "2025-07-05T22:16:01.307Z",
      "taxAccount": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "code": "text",
        "name": "text",
        "description": "text",
        "externalERPId": "text",
        "externalCRMId": "text"
      },
      "taxAccountId": "123e4567-e89b-12d3-a456-426614174000",
      "details": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "taxTemplateId": "123e4567-e89b-12d3-a456-426614174000",
          "country": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "twoAlphaCode": "text",
            "threeAlphaCode": "text",
            "active": true,
            "customFields": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            }
          },
          "countryId": "123e4567-e89b-12d3-a456-426614174000",
          "city": "text",
          "state": "text",
          "county": "text",
          "zip": "text",
          "tax1": 1,
          "tax2": 1,
          "tax3": 1,
          "useTaxJar": true,
          "taxCategoryId": "123e4567-e89b-12d3-a456-426614174000",
          "taxCategory": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "description": "text",
            "isActive": true,
            "isEUTax": true,
            "externalCode": "text"
          }
        }
      ],
      "created": "2025-07-05T22:16:01.307Z",
      "modified": "2025-07-05T22:16:01.307Z",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    }
  ]
}

Get TaxTemplates by Id

get
Authorizations
Path parameters
idstring · uuidRequired
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
get
GET /TaxTemplates/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "description": "text",
  "effectiveFrom": "2025-07-05T22:16:01.307Z",
  "effectiveTo": "2025-07-05T22:16:01.307Z",
  "taxAccount": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "code": "text",
    "name": "text",
    "description": "text",
    "externalERPId": "text",
    "externalCRMId": "text"
  },
  "taxAccountId": "123e4567-e89b-12d3-a456-426614174000",
  "details": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "taxTemplateId": "123e4567-e89b-12d3-a456-426614174000",
      "country": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "twoAlphaCode": "text",
        "threeAlphaCode": "text",
        "active": true,
        "customFields": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "countryId": "123e4567-e89b-12d3-a456-426614174000",
      "city": "text",
      "state": "text",
      "county": "text",
      "zip": "text",
      "tax1": 1,
      "tax2": 1,
      "tax3": 1,
      "useTaxJar": true,
      "taxCategoryId": "123e4567-e89b-12d3-a456-426614174000",
      "taxCategory": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "description": "text",
        "isActive": true,
        "isEUTax": true,
        "externalCode": "text"
      }
    }
  ],
  "created": "2025-07-05T22:16:01.307Z",
  "modified": "2025-07-05T22:16:01.307Z",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text"
}

Last updated

Was this helpful?