Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The issue about create invoice by BAPI(BAPI_INCOMINGINVOICE_CREATE)

Former Member
0 Likes
666

I want to creat a invoice use BAPI(BAPI_INCOMINGINVOICE_CREATE) like below.

tax rate: 13%.

item -


PK--


G/L account--


Description -


amount

1--


31
100079

VENDER
--


93-

2--


86
1401000000

GR/IR
--


40

3--


86
1401000000

GR/IR
--


40

4--


40
2221010500

TAX
--


13

BAPI return error message: Tax entered incorrect (code 01, amount 13.00), correct 10.40.

i think BAPI check tax amount rule is : tax_amount = GR/IR's total amount * tax_rate = (40 + 40) * 13% = 10.40.

I try to use MIRO to create this invoice ,i create invoice successfully after i modify tax Base.amnt to 100.

i try to modify BAPI_INCOMINGINVOICE_CREATE's tax Base.amnt to 100,but BAPI return the same error message.

How can i do ? please give me some help.

thanks a lot.

1 ACCEPTED SOLUTION
Read only

Kanagaraja_L
Active Contributor
0 Likes
547

Check the Note 800261.

Kanagaraja L

I want to creat a invoice use BAPI(BAPI_INCOMINGINVOICE_CREATE) like below.

tax rate: 13%.

item -


PK--


G/L account--


Description -


amount

1--


31
100079

VENDER
--


93-

2--


86
1401000000

GR/IR
--


40

3--


86
1401000000

GR/IR
--


40

4--


40
2221010500

TAX
--


13

BAPI return error message: Tax entered incorrect (code 01, amount 13.00), correct 10.40.

i think BAPI check tax amount rule is : tax_amount = GR/IR's total amount * tax_rate = (40 + 40) * 13% = 10.40.

I try to use MIRO to create this invoice ,i create invoice successfully after i modify tax Base.amnt to 100.

i try to modify BAPI_INCOMINGINVOICE_CREATE's tax Base.amnt to 100,but BAPI return the same error message.

How can i do ? please give me some help.

thanks a lot.

1 REPLY 1
Read only

Kanagaraja_L
Active Contributor
0 Likes
548

Check the Note 800261.

Kanagaraja L