mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Tax rule for Poland (PL)
This commit is contained in:
parent
87dc9093c0
commit
79c88b1b57
44
app/DataMapper/Tax/PL/Rule.php
Normal file
44
app/DataMapper/Tax/PL/Rule.php
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Invoice Ninja (https://invoiceninja.com).
|
||||||
|
*
|
||||||
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
||||||
|
*
|
||||||
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace App\DataMapper\Tax\PL;
|
||||||
|
|
||||||
|
use App\DataMapper\Tax\DE\Rule as DERule;
|
||||||
|
|
||||||
|
class Rule extends DERule
|
||||||
|
{
|
||||||
|
/** @var string $seller_region */
|
||||||
|
public string $seller_region = 'EU';
|
||||||
|
|
||||||
|
/** @var bool $consumer_tax_exempt */
|
||||||
|
public bool $consumer_tax_exempt = false;
|
||||||
|
|
||||||
|
/** @var bool $business_tax_exempt */
|
||||||
|
public bool $business_tax_exempt = false;
|
||||||
|
|
||||||
|
/** @var bool $eu_business_tax_exempt */
|
||||||
|
public bool $eu_business_tax_exempt = true;
|
||||||
|
|
||||||
|
/** @var bool $foreign_business_tax_exempt */
|
||||||
|
public bool $foreign_business_tax_exempt = false;
|
||||||
|
|
||||||
|
/** @var bool $foreign_consumer_tax_exempt */
|
||||||
|
public bool $foreign_consumer_tax_exempt = false;
|
||||||
|
|
||||||
|
/** @var float $tax_rate */
|
||||||
|
public float $tax_rate = 0;
|
||||||
|
|
||||||
|
/** @var float $reduced_tax_rate */
|
||||||
|
public float $reduced_tax_rate = 0;
|
||||||
|
|
||||||
|
public string $tax_name1 = 'VAT';
|
||||||
|
|
||||||
|
}
|
@ -474,6 +474,12 @@ class TaxModel
|
|||||||
$this->regions->EU->subregions->NL->reduced_tax_rate = 9;
|
$this->regions->EU->subregions->NL->reduced_tax_rate = 9;
|
||||||
$this->regions->EU->subregions->NL->apply_tax = false;
|
$this->regions->EU->subregions->NL->apply_tax = false;
|
||||||
|
|
||||||
|
$this->regions->EU->subregions->PL = new \stdClass();
|
||||||
|
$this->regions->EU->subregions->PL->tax_rate = 23;
|
||||||
|
$this->regions->EU->subregions->PL->tax_name = 'VAT';
|
||||||
|
$this->regions->EU->subregions->PL->reduced_tax_rate = 8;
|
||||||
|
$this->regions->EU->subregions->PL->apply_tax = false;
|
||||||
|
|
||||||
$this->regions->EU->subregions->PT = new \stdClass();
|
$this->regions->EU->subregions->PT = new \stdClass();
|
||||||
$this->regions->EU->subregions->PT->tax_rate = 23;
|
$this->regions->EU->subregions->PT->tax_rate = 23;
|
||||||
$this->regions->EU->subregions->PT->tax_name = 'IVA';
|
$this->regions->EU->subregions->PT->tax_name = 'IVA';
|
||||||
|
@ -197,6 +197,10 @@ region:
|
|||||||
vat: 21
|
vat: 21
|
||||||
reduced_vat: 9
|
reduced_vat: 9
|
||||||
apply_tax: false
|
apply_tax: false
|
||||||
|
PL:
|
||||||
|
vat: 23
|
||||||
|
reduced_vat: 8
|
||||||
|
apply_tax: false
|
||||||
PT:
|
PT:
|
||||||
vat: 23
|
vat: 23
|
||||||
reduced_vat: 6
|
reduced_vat: 6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user