Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

BAPI_ACC_DOCUMENT_POST and partial non deductible VAT

$
0
0

Hello,

 

I am facing a issue related to posting partial / non deductible VAT using BAPI_ACC_DOCUMENT_POST. I have been searching this forum along with many other forums but without success. At place I got suggession to use USER EXISTS to achive this but I am a new comer to this area and I am actually lost with USER EXISTS.

 

There is the scenario mentioned below:

 

There are certain Invoices where a part for the tax amount for the items can be recovered. I have provided an example below to understand the situation better:

 

 

The total invoice amount is 2048.18.

There are two lines:

a) Amount 1268.52 with 253.70 (20%) VAT

b) Amount 438.30 with 87.66 (20%) VAT

Total Tax: 341.36

 

Now, this invoice is entered like below:

Vendor Amount: 2048.18

a) Line One: 1268.52 + 126.85 = 1395.37 with a 0% tax (increasing the expense account cost)

b) Line Two: 438.30 with a 0% tax

c) Line Three with GL Account same as that of a tax GL account : Amount = 214.51 with Base Amount = 1072.55 with 20% tax (20% tax being calculated on the Base Amount 1072.55)

 

 

To handle this situation I tried two approaches and both have failed.

Approach 1:

a) Created vendor line with amount 2048.18

b) Created two GL lines with line amounts 1395.37 (N0 tax) and 438.30 (N0 tax) N0 tax code has 0% tax

c) Create a tax line with line amount 214.51 with base amount 1072.55 with N1 tax code N1 has 20% tax

d) This gave an error u201CTax amount must not be greater than tax baseu201D

 

My understanding is, in this approach system is trying to get the total of the GL line amounts with tax code N1 for its base amount, instead of taking the base amount that has been passed in the Tax line. This total is of course 0.00 and there fore less than the tax amount and thus results in this error.

 

 

 

Approach 2:

 

a) Created vendor line with currency amount 2048.18

b) Created two GL lines with currency amounts 1395.37 (N0 tax) and 438.30 (N0 tax) N0 tax code has 0% tax

c) Created the third GL lines with currency amount 214.51, base amount 1072.55 with N1 tax code N1 has 20% tax

d) The invoice got booked but when I open the Tax Data from FB02, I see the tax base amount as the line amount of the third line and the tax amount as 0.00

 

In this approach the third line got saved just like any other GL line where the base amount if passed cannot be more than the line amount. Thus the base amount for this third line defaulted to the line amount. The tax data is thus showing the tax amount as 0.00 as tax line does not exist.

 

 

I am a looking for a direction towards the solution and will be greatful if I get any help in that area.

 

Best Regards

Sutirtha


Viewing all articles
Browse latest Browse all 3523

Trending Articles