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

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

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

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)

Reply via email to