Skip to content

Commit

Permalink
Tweak: update UBL tax scheme keys to comply with UN/EDIFACT code format
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmigf committed Dec 31, 2024
1 parent 17cfe6e commit d7548f5
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions ubl/Settings/TaxesSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,59 +147,59 @@ public function get_select_for( string $for, string $type, string $id, string $s

public function get_available_schemes(): array {
return apply_filters( 'wpo_wcpdf_ubl_tax_schemes', array(
'vat' => __( 'Value added tax (VAT)', 'woocommerce-pdf-invoices-packing-slips' ),
'gst' => __( 'Goods and services tax (GST)', 'woocommerce-pdf-invoices-packing-slips' ),
'aaa' => __( 'Petroleum tax', 'woocommerce-pdf-invoices-packing-slips' ),
'aab' => __( 'Provisional countervailing duty cash', 'woocommerce-pdf-invoices-packing-slips' ),
'aac' => __( 'Provisional countervailing duty bond', 'woocommerce-pdf-invoices-packing-slips' ),
'aad' => __( 'Tobacco tax', 'woocommerce-pdf-invoices-packing-slips' ),
'aae' => __( 'Energy fee', 'woocommerce-pdf-invoices-packing-slips' ),
'aaf' => __( 'Coffee tax', 'woocommerce-pdf-invoices-packing-slips' ),
'aag' => __( 'Harmonised sales tax, Canadian', 'woocommerce-pdf-invoices-packing-slips' ),
'aah' => __( 'Quebec sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'aai' => __( 'Canadian provincial sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'aaj' => __( 'Tax on replacement part', 'woocommerce-pdf-invoices-packing-slips' ),
'aak' => __( 'Mineral oil tax', 'woocommerce-pdf-invoices-packing-slips' ),
'aal' => __( 'Special tax', 'woocommerce-pdf-invoices-packing-slips' ),
'add' => __( 'Anti-dumping duty', 'woocommerce-pdf-invoices-packing-slips' ),
'bol' => __( 'Stamp duty (Imposta di Bollo)', 'woocommerce-pdf-invoices-packing-slips' ),
'cap' => __( 'Agricultural levy', 'woocommerce-pdf-invoices-packing-slips' ),
'car' => __( 'Car tax', 'woocommerce-pdf-invoices-packing-slips' ),
'coc' => __( 'Paper consortium tax (Italy)', 'woocommerce-pdf-invoices-packing-slips' ),
'cst' => __( 'Commodity specific tax', 'woocommerce-pdf-invoices-packing-slips' ),
'cud' => __( 'Customs duty', 'woocommerce-pdf-invoices-packing-slips' ),
'cvd' => __( 'Countervailing duty', 'woocommerce-pdf-invoices-packing-slips' ),
'env' => __( 'Environmental tax', 'woocommerce-pdf-invoices-packing-slips' ),
'exc' => __( 'Excise duty', 'woocommerce-pdf-invoices-packing-slips' ),
'exp' => __( 'Agricultural export rebate', 'woocommerce-pdf-invoices-packing-slips' ),
'fet' => __( 'Federal excise tax', 'woocommerce-pdf-invoices-packing-slips' ),
'fre' => __( 'Free', 'woocommerce-pdf-invoices-packing-slips' ),
'gnc' => __( 'General construction tax', 'woocommerce-pdf-invoices-packing-slips' ),
'ill' => __( 'Illuminants tax', 'woocommerce-pdf-invoices-packing-slips' ),
'imp' => __( 'Import tax', 'woocommerce-pdf-invoices-packing-slips' ),
'ind' => __( 'Individual tax', 'woocommerce-pdf-invoices-packing-slips' ),
'lac' => __( 'Business license fee', 'woocommerce-pdf-invoices-packing-slips' ),
'lcn' => __( 'Local construction tax', 'woocommerce-pdf-invoices-packing-slips' ),
'ldp' => __( 'Light dues payable', 'woocommerce-pdf-invoices-packing-slips' ),
'loc' => __( 'Local sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'lst' => __( 'Lust tax', 'woocommerce-pdf-invoices-packing-slips' ),
'mca' => __( 'Monetary compensatory amount', 'woocommerce-pdf-invoices-packing-slips' ),
'mcd' => __( 'Miscellaneous cash deposit', 'woocommerce-pdf-invoices-packing-slips' ),
'oth' => __( 'Other taxes', 'woocommerce-pdf-invoices-packing-slips' ),
'pdb' => __( 'Provisional duty bond', 'woocommerce-pdf-invoices-packing-slips' ),
'pdc' => __( 'Provisional duty cash', 'woocommerce-pdf-invoices-packing-slips' ),
'prf' => __( 'Preference duty', 'woocommerce-pdf-invoices-packing-slips' ),
'scn' => __( 'Special construction tax', 'woocommerce-pdf-invoices-packing-slips' ),
'sss' => __( 'Shifted social securities', 'woocommerce-pdf-invoices-packing-slips' ),
'stt' => __( 'State/provincial sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'sup' => __( 'Suspended duty', 'woocommerce-pdf-invoices-packing-slips' ),
'sur' => __( 'Surtax', 'woocommerce-pdf-invoices-packing-slips' ),
'swt' => __( 'Shifted wage tax', 'woocommerce-pdf-invoices-packing-slips' ),
'tac' => __( 'Alcohol mark tax', 'woocommerce-pdf-invoices-packing-slips' ),
'tot' => __( 'Total', 'woocommerce-pdf-invoices-packing-slips' ),
'tox' => __( 'Turnover tax', 'woocommerce-pdf-invoices-packing-slips' ),
'tta' => __( 'Tonnage taxes', 'woocommerce-pdf-invoices-packing-slips' ),
'vad' => __( 'Valuation deposit', 'woocommerce-pdf-invoices-packing-slips' ),
'VAT' => __( 'Value added tax (VAT)', 'woocommerce-pdf-invoices-packing-slips' ),
'GST' => __( 'Goods and services tax (GST)', 'woocommerce-pdf-invoices-packing-slips' ),
'AAA' => __( 'Petroleum tax', 'woocommerce-pdf-invoices-packing-slips' ),
'AAB' => __( 'Provisional countervailing duty cash', 'woocommerce-pdf-invoices-packing-slips' ),
'AAC' => __( 'Provisional countervailing duty bond', 'woocommerce-pdf-invoices-packing-slips' ),
'AAD' => __( 'Tobacco tax', 'woocommerce-pdf-invoices-packing-slips' ),
'AAE' => __( 'Energy fee', 'woocommerce-pdf-invoices-packing-slips' ),
'AAF' => __( 'Coffee tax', 'woocommerce-pdf-invoices-packing-slips' ),
'AAG' => __( 'Harmonised sales tax, Canadian', 'woocommerce-pdf-invoices-packing-slips' ),
'AAH' => __( 'Quebec sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'AAI' => __( 'Canadian provincial sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'AAJ' => __( 'Tax on replacement part', 'woocommerce-pdf-invoices-packing-slips' ),
'AAK' => __( 'Mineral oil tax', 'woocommerce-pdf-invoices-packing-slips' ),
'AAL' => __( 'Special tax', 'woocommerce-pdf-invoices-packing-slips' ),
'ADD' => __( 'Anti-dumping duty', 'woocommerce-pdf-invoices-packing-slips' ),
'BOL' => __( 'Stamp duty (Imposta di Bollo)', 'woocommerce-pdf-invoices-packing-slips' ),
'CAP' => __( 'Agricultural levy', 'woocommerce-pdf-invoices-packing-slips' ),
'CAR' => __( 'Car tax', 'woocommerce-pdf-invoices-packing-slips' ),
'COC' => __( 'Paper consortium tax (Italy)', 'woocommerce-pdf-invoices-packing-slips' ),
'CST' => __( 'Commodity specific tax', 'woocommerce-pdf-invoices-packing-slips' ),
'CUD' => __( 'Customs duty', 'woocommerce-pdf-invoices-packing-slips' ),
'CVD' => __( 'Countervailing duty', 'woocommerce-pdf-invoices-packing-slips' ),
'ENV' => __( 'Environmental tax', 'woocommerce-pdf-invoices-packing-slips' ),
'EXC' => __( 'Excise duty', 'woocommerce-pdf-invoices-packing-slips' ),
'EXP' => __( 'Agricultural export rebate', 'woocommerce-pdf-invoices-packing-slips' ),
'FET' => __( 'Federal excise tax', 'woocommerce-pdf-invoices-packing-slips' ),
'FRE' => __( 'Free', 'woocommerce-pdf-invoices-packing-slips' ),
'GNC' => __( 'General construction tax', 'woocommerce-pdf-invoices-packing-slips' ),
'ILL' => __( 'Illuminants tax', 'woocommerce-pdf-invoices-packing-slips' ),
'IMP' => __( 'Import tax', 'woocommerce-pdf-invoices-packing-slips' ),
'IND' => __( 'Individual tax', 'woocommerce-pdf-invoices-packing-slips' ),
'LAC' => __( 'Business license fee', 'woocommerce-pdf-invoices-packing-slips' ),
'LCN' => __( 'Local construction tax', 'woocommerce-pdf-invoices-packing-slips' ),
'LDP' => __( 'Light dues payable', 'woocommerce-pdf-invoices-packing-slips' ),
'LOC' => __( 'Local sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'LST' => __( 'Lust tax', 'woocommerce-pdf-invoices-packing-slips' ),
'MCA' => __( 'Monetary compensatory amount', 'woocommerce-pdf-invoices-packing-slips' ),
'MCD' => __( 'Miscellaneous cash deposit', 'woocommerce-pdf-invoices-packing-slips' ),
'OTH' => __( 'Other taxes', 'woocommerce-pdf-invoices-packing-slips' ),
'PDB' => __( 'Provisional duty bond', 'woocommerce-pdf-invoices-packing-slips' ),
'PDC' => __( 'Provisional duty cash', 'woocommerce-pdf-invoices-packing-slips' ),
'PRF' => __( 'Preference duty', 'woocommerce-pdf-invoices-packing-slips' ),
'SCN' => __( 'Special construction tax', 'woocommerce-pdf-invoices-packing-slips' ),
'SSS' => __( 'Shifted social securities', 'woocommerce-pdf-invoices-packing-slips' ),
'STT' => __( 'State/provincial sales tax', 'woocommerce-pdf-invoices-packing-slips' ),
'SUP' => __( 'Suspended duty', 'woocommerce-pdf-invoices-packing-slips' ),
'SUR' => __( 'Surtax', 'woocommerce-pdf-invoices-packing-slips' ),
'SWT' => __( 'Shifted wage tax', 'woocommerce-pdf-invoices-packing-slips' ),
'TAC' => __( 'Alcohol mark tax', 'woocommerce-pdf-invoices-packing-slips' ),
'TOT' => __( 'Total', 'woocommerce-pdf-invoices-packing-slips' ),
'TOX' => __( 'Turnover tax', 'woocommerce-pdf-invoices-packing-slips' ),
'TTA' => __( 'Tonnage taxes', 'woocommerce-pdf-invoices-packing-slips' ),
'VAD' => __( 'Valuation deposit', 'woocommerce-pdf-invoices-packing-slips' ),
) );
}

Expand Down

0 comments on commit d7548f5

Please sign in to comment.