Search 1.9 billion lines of Odoo code on GitHub

l10n_th_vendor_tax_invoice

Author: Ecosoft,Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: akekaphop/l10n-thailand
Dependencies: account, account_create_tax_cash_basis_entry_hook, and hr_expense
Languages: HTML (460, 33.7%), Python (614, 44.9%), XML (111, 8.1%), and reStructuredText (181, 13.3%)
Other repositories: Jakkrich/l10n-thailand, OCA/l10n-thailand, Saran440/l10n-thailand, Supattra6548/l10n-thailand, beemoza/l10n-thailand, ecosoft-odoo/l10n-thailand, ecosoft-odoo/rjc, gtopba/l10n-thailand, kiattipong/l10n-thailand, kittiu/l10n-thailand, kurogeek/l10n-thailand, lideritjnma/l10n-thailand, linladas/l10n-thailand, marcelsavegnago/l10n-thailand, newtratip/l10n-thailand, poonlap/l10n-thailand, ps-tubtim/l10n-thailand, sansirit/l10n-thailand, thitithup/l10n-thailand, trinityroots/l10n-thailand, and zhongkon/l10n-thailand

<h1 class="title">Thai Localization - Account Vendor Tax Invoice</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/l10n-thailand/tree/12.0/l10n_th_vendor_tax_invoice"><img alt="OCA/l10n-thailand" src="https://img.shields.io/badge/github-OCA%2Fl10n--thailand-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/l10n-thailand-12-0/l10n-thailand-12-0-l10n_th_vendor_tax_invoice"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/238/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module address the undue tax requirement for Thailand</p> <p>In Odoo, cash basis feature is being used to cover case of undue tax (due on payment). This can answer the issue about undue tax in Thailand partially. For customer invoice/payment, Odoo's cash basis alone is enough.</p> <p>But for supplier invoice/payment and expense, where tax invoice number and tax date is given from vendor. This module will provide ways for user to do so on vendor bill (for normal tax) and in supplier payment (for undue tax which is due on payment).</p> <p>Note : This module also delete line in journal entry are not used and Remove required field Base Tax Received Account.</p> <div class="admonition important"> <p class="first admonition-title">Important</p> <p class="last">This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. <a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p> </div> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id7">Installation</a></li> <li><a class="reference internal" href="#usage" id="id8">Usage</a></li> <li><a class="reference internal" href="#changelog" id="id9">Changelog</a><ul> <li><a class="reference internal" href="#id1" id="id10">12.0.1.0.0 (2019-03-07)</a></li> <li><a class="reference internal" href="#id2" id="id11">12.0.1.0.1 (2019-06-04)</a></li> <li><a class="reference internal" href="#id3" id="id12">12.0.1.1.0 (2019-06-11)</a></li> <li><a class="reference internal" href="#id4" id="id13">12.0.2.0.0 (2019-06-22)</a></li> <li><a class="reference internal" href="#id5" id="id14">12.0.2.1.0 (2019-07-17)</a></li> <li><a class="reference internal" href="#id6" id="id15">12.0.2.1.1 (2019-07-22)</a></li> </ul> </li> <li><a class="reference internal" href="#bug-tracker" id="id16">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id17">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id18">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id19">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id20">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id7">Installation</a></h2> <p>To install this module, you need to install the hook addon <strong>account_create_tax_cash_basis_entry_hook</strong></p> <p>Then, simply install <strong>l10n_th_vendor_tax_invoice</strong>.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id8">Usage</a></h2> <p>With this, 2 new tax related fields will be introduced in account.move.line</p> <ol class="arabic simple"> <li>tax_invoice : Tax Invoice Number</li> <li>tax_date : Tax Invoice Date</li> </ol> <p>In customer invoice, both field will be defaulted by Odoo's document number and date. But in supplier invoice, both field must be filled by user with tax invoice number and date from vendor.</p> <p>Note: These 2 fields will be also be used in Thai VAT report, with the intention that every report should be coded out of account.move.line</p> <p><strong>Preparing Undue Tax</strong></p> <ul class="simple"> <li>Use Developer Mode</li> <li>In Chart of Account, add new account for Undue Tax, if not already exists.</li> <li>As admin, add access rights <code>Show Full Accounting Features</code></li> <li>Go to Invoicing &gt; Configuration &gt; Settings and select <code>Cash Basis</code>, this will open cash basis options in Tax master data</li> <li>Go to Invoicing &gt; Configuration &gt; Accounting &gt; Taxes, create new undue tax for both sales and purchase</li> </ul> <p><strong>Case Customer Invoice and Payment</strong></p> <p>As mentioned earlier, customer side operation do not affected by this module. But we should still now see the new <code>Tax Invoice Number</code> and <code>Tax Date</code> field in account.move.line</p> <ul class="simple"> <li>Create new customer invoice and choose to use sales' VAT or Undue VAT</li> <li>Process invoice and payment as per normal, Odoo document number and date should be used as Tax Invoice Number/Date</li> <li>To check Tax Invoice Number and Date in relevant journal items, go to Invoicing &gt; Accounting &gt; Journal Items, then click to expand</li> </ul> <p><strong>Case Supplier Invoice/Payment</strong></p> <p><strong>1) Case Input VAT</strong></p> <ul class="simple"> <li>Create new vendor bill and choose Input VAT</li> <li>At vendor bill's tax table, fill in 2 new fields, <code>Tax Invoice</code> and <code>Tax Date</code> given by your vendor</li> <li>Validate this vendor bill, the given Tax Invoice Number and Tax Date should be used in account.move.line</li> <li>To check Tax Invoice Number and Date in relevant journal items, go to Invoicing &gt; Accounting &gt; Journal Items, then click to expand</li> </ul> <p><strong>2) Case Undue Input VAT</strong></p> <ul class="simple"> <li>Create new vendor bill and choose Undue Input VAT</li> <li>Validate vendor bill, journal entry will be created with Undue VAT</li> <li>Register payment as per normal, this will create new payment document as per normal</li> <li>From this process, the journal entry (cash basis) for clear undue is created, but it will be in state <strong>Draft</strong></li> <li>Go to payment document, ​select <code>Key-in tax invoice number/date from supplier</code>, and fill in Tax Invoice Number and Tax Date</li> <li>Click on Clear VAT button, the journal entry (cash basis) for clear undue will now be <strong>Posted</strong></li> <li>To check Tax Invoice Number and Date in relevant journal items, go to Invoicing &gt; Accounting &gt; Journal Items, then click to expand</li> </ul> <p><strong>Preparing Tax Adjustments</strong></p> <ul class="simple"> <li>Use Developer Mode</li> <li>As admin, add access rights <code>Show Full Accounting Features</code></li> <li>Go to Invoicing &gt; Configuration &gt; Accounting &gt; Taxes, create new Tax Scope <code>Adjustment</code></li> </ul> <p><strong>Case Tax Adjustments</strong></p> <ul class="simple"> <li>Go to Invoicing &gt; Accounting &gt; Tax Adjustments</li> <li>Create journal entry directly to adjust tax (manually by accountant)</li> </ul> <a name="changelog"></a> <h2><a class="toc-backref" href="#id9">Changelog</a></h2> <a name="id1"></a> <h3><a class="toc-backref" href="#id10">12.0.1.0.0 (2019-03-07)</a></h3> <ul class="simple"> <li>Start of the history</li> </ul> <a name="id2"></a> <h3><a class="toc-backref" href="#id11">12.0.1.0.1 (2019-06-04)</a></h3> <ul class="simple"> <li>Change field name</li> </ul> <a name="id3"></a> <h3><a class="toc-backref" href="#id12">12.0.1.1.0 (2019-06-11)</a></h3> <ul class="simple"> <li>Delete line in journal entry is not used</li> <li>Invisible required field Base Tax Received Account</li> </ul> <a name="id4"></a> <h3><a class="toc-backref" href="#id13">12.0.2.0.0 (2019-06-22)</a></h3> <ul class="simple"> <li>Applicable to HR Expense too, when it also use Undue Tax (add depends on hr_expense)</li> <li>Add partner_id in account.payment.tax, to allow changing partner (mostly for expense case)</li> </ul> <a name="id5"></a> <h3><a class="toc-backref" href="#id14">12.0.2.1.0 (2019-07-17)</a></h3> <ul class="simple"> <li>Add partner, invoice date/number and amount fields in Tax Adjustments Wizard (to comply with Thai tax report)</li> <li>Fix bug Tax Base amount in move line is 0 (case undue vat)</li> </ul> <a name="id6"></a> <h3><a class="toc-backref" href="#id15">12.0.2.1.1 (2019-07-22)</a></h3> <ul class="simple"> <li>Fix bug error when cancel payment (case undue vat)</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id16">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-thailand/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/l10n-thailand/issues/new?body=module:%20l10n_th_vendor_tax_invoice%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id17">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id18">Authors</a></h3> <ul class="simple"> <li>Ecosoft</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id19">Contributors</a></h3> <ul class="simple"> <li>Kitti Upariphutthiphong. &lt;<a class="reference external" href="mailto:kittiu&#64;gmail.com">kittiu&#64;gmail.com</a>&gt; (<a class="reference external" href="http://ecosoft.co.th">http://ecosoft.co.th</a>)</li> <li>Saran Lim. &lt;<a class="reference external" href="mailto:saranl&#64;ecosoft.co.th">saranl&#64;ecosoft.co.th</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id20">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/kittiu"><img alt="kittiu" src="https://github.com/kittiu.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-thailand/tree/12.0/l10n_th_vendor_tax_invoice">OCA/l10n-thailand</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>