# reference_tax_withholding

## Description

<details>
<summary><strong>Table Definition</strong></summary>

```sql
CREATE TABLE `reference_tax_withholding` (
  `reference_tax_withholding_id` mediumint unsigned NOT NULL AUTO_INCREMENT,
  `country_of_withholding` char(3) COLLATE utf8mb4_general_ci NOT NULL,
  `country_of_tax_residence` char(3) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `tax_rate` decimal(5,2) NOT NULL,
  `created_by` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `last_modified_by` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `last_modified` datetime NOT NULL,
  `is_resource_provisioned` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`reference_tax_withholding_id`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
```

</details>

## Columns

| Name                         | Type               | Default | Nullable | Extra Definition | Children | Parents | Comment |
| ---------------------------- | ------------------ | ------- | -------- | ---------------- | -------- | ------- | ------- |
| country_of_tax_residence     | char(3)            |         | true     |                  |          |         |         |
| country_of_withholding       | char(3)            |         | false    |                  |          |         |         |
| created_at                   | datetime           |         | false    |                  |          |         |         |
| created_by                   | varchar(255)       |         | false    |                  |          |         |         |
| is_resource_provisioned      | tinyint(1)         |         | true     |                  |          |         |         |
| last_modified                | datetime           |         | false    |                  |          |         |         |
| last_modified_by             | varchar(255)       |         | false    |                  |          |         |         |
| reference_tax_withholding_id | mediumint unsigned |         | false    | auto_increment   |          |         |         |
| tax_rate                     | decimal(5,2)       |         | false    |                  |          |         |         |

## Constraints

| Name    | Type        | Definition                                 |
| ------- | ----------- | ------------------------------------------ |
| PRIMARY | PRIMARY KEY | PRIMARY KEY (reference_tax_withholding_id) |

## Indexes

| Name    | Definition                                             |
| ------- | ------------------------------------------------------ |
| PRIMARY | PRIMARY KEY (reference_tax_withholding_id) USING BTREE |

## Relations

![er](reference_tax_withholding.svg)

---

> Generated by [tbls](https://github.com/k1LoW/tbls)
