ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7012) VAT tax are not recorded as separate line items in Invoice for products with VAT tax included in their price
Date Sat, 11 Jan 2020 10:26:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-7012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013437#comment-17013437
] 

ASF subversion and git services commented on OFBIZ-7012:
--------------------------------------------------------

Commit 23aa779df5ba2a6761af67b67ac8d402a5bd9608 in ofbiz-framework's branch refs/heads/release18.12
from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=23aa779 ]

Fixed: Bug when order contains adjustments with NULL amount
(OFBIZ-11316)

The issue was introduced by OFBIZ-7012 where adding isTaxIncludedInPrice was
missing at line 565. Because the compared amount in this line (in the adjustment)
is different from 0 and equals to amountAlreadyIncluded only if
the tax is included in price

Thanks: Amine Azzi


> VAT tax are not recorded as separate line items in Invoice for products with VAT tax
included in their price
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7012
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7012
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: accounting, order
>            Reporter: Divesh Dutta
>            Assignee: Divesh Dutta
>            Priority: Major
>              Labels: VAT, tax
>         Attachments: OFBIZ-7012.patch
>
>
> In countries like UK VAT system works. So in VAT system, VAT taxes are included in product's
price. So OFBiz have support of VAT tax where you can include VAT in product's price itself.
Here is the example data we create to enable VAT calculations:
>  {code}
> <Party partyId="GB_TA" partyTypeId="PARTY_GROUP" statusId="PARTY_ENABLED"/>
>  
> <PartyGroup partyId="GB_TA" groupName="Great Britain Tax Authority"/>
>  
> <PartyRole partyId="GB_TA" roleTypeId="TAX_AUTHORITY"/>
>  
> <TaxAuthority taxIdFormatPattern="\d{2}\-\d{7}|\d{3}\-\d{2}\-\d{4}" taxAuthGeoId="GBR"
taxAuthPartyId="GB_TA"/>
>  
> <TaxAuthorityRateProduct taxAuthorityRateSeqId="6002" description="Standard E-Commerce
Great Britain Tax Rate" fromDate="2016-01-01 00:00:00.0" productStoreId="9000" taxAuthGeoId="GBR"
taxAuthPartyId="GB_TA" taxAuthorityRateTypeId="VAT_TAX" taxPercentage="20.00" />
> <ProductPrice currencyUomId="GBP" fromDate="2012-07-03 00:00:00.0"price="139.000"
productId="GZ-2644" productPricePurposeId="PURCHASE" productPriceTypeId="DEFAULT_PRICE" productStoreGroupId="_NA_"
taxAuthGeoId="GBR" taxAuthPartyId="GB_TA" taxInPrice="Y" />
>  {code}
> When invoices are created, tax amount included in product's price is not separated in
new invoice line item. And when general ledger postings are done, then tax amount is not posted
in Liability account. So due to this organizations have no way to figure out how much tax
is to be paid to tax authority. 
> Ideally, product's actual price (without VAT) should be recorded in revenue account and
tax should be recorded in liability account. 
> For doing this, when invoice is created, VAT amount should be separated and created as
new line item. 
> Recently we have worked for one of our client where we have fixed this issue and enabled
invoicing in OFBiz to record vat tax amount as separate line items. [~lektran] has actively
worked with us to finalize the solution design and completing the implementation. [~ankush.upadhyay]
is the developer who worked on solution design. [~ankush.upadhyay] please provide the patch
for this issue. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message