tax.yml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # This file is a part of rAthena.
  2. # Copyright(C) 2022 rAthena Development Team
  3. # https://rathena.org - https://github.com/rathena
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. #
  18. ###########################################################################
  19. # Tax Database
  20. ###########################################################################
  21. #
  22. # Tax Settings
  23. #
  24. ###########################################################################
  25. # Type Tax type. Valid types are TAX_SELLING for vending and TAX_BUYING for buyingstore.
  26. # InTotal Tax applied for total transaction. Supports unlimited entries.
  27. # - MinimalValue Minimum Zeny value before Tax is applied. (Default: 0)
  28. # Tax Tax percentage applied to MinimalValue. (Default: 0)
  29. # EachEntry Tax by selling entry. Supports unlimited entries.
  30. # - MinimalValue Minimum Zeny value before Tax is applied. (Default: 0)
  31. # Tax Tax percentage applied to MinimalValue. (Default: 0)
  32. ###########################################################################
  33. Header:
  34. Type: TAX_DB
  35. Version: 1
  36. Body:
  37. # Zeny received for the seller will be reduced after taxes from the total selling price but the buyer pays just the total selling price
  38. - Type: TAX_SELLING
  39. InTotal:
  40. - MinimalValue: 0
  41. Tax: 0
  42. EachEntry:
  43. # 10% if >= 100,000,001
  44. - MinimalValue: 100000001
  45. Tax: 1000
  46. # 8% if >= 10,000,001
  47. - MinimalValue: 10000001
  48. Tax: 800
  49. # 6% if >= 1,000,001
  50. - MinimalValue: 1000001
  51. Tax: 600
  52. # 4% if >= 100,001
  53. - MinimalValue: 100001
  54. Tax: 400
  55. # 2% if >= 10,001
  56. - MinimalValue: 10001
  57. Tax: 200
  58. # Zeny received for the seller will be the total selling price but the buyer must pay taxes for the total selling price
  59. - Type: TAX_BUYING
  60. InTotal:
  61. - MinimalValue: 0
  62. Tax: 0
  63. # Tax by buying entry
  64. EachEntry:
  65. # 10% if >= 100,000,001
  66. - MinimalValue: 100000001
  67. Tax: 1000
  68. # 8% if >= 10,000,001
  69. - MinimalValue: 10000001
  70. Tax: 800
  71. # 6% if >= 1,000,001
  72. - MinimalValue: 1000001
  73. Tax: 600
  74. # 4% if >= 100,001
  75. - MinimalValue: 100001
  76. Tax: 400
  77. # 2% if >= 10,001
  78. - MinimalValue: 10001
  79. Tax: 200
  80. Footer:
  81. Imports:
  82. - Path: conf/import/tax.yml