cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST Error FF 825 No tax rate defined for company code xxxx transaction FTXP yy

former_member674303
Participant
0 Kudos
2,942

Dear All

We are using BAPI_ACC_DOCUMENT_POST to generate vendor invoice with GST tax posting & With holding tax. However we are getting error message No tax rate defined for company code XXXX transaction FTXP yy. Here yy is tax code (9% CGST,9% SGST). I have checked existing forum queries but could not find solution. Please suggest how to resolve. We are using FM CALCULATE_TAX_GROSS and using its output to fill ACCOUNTAX table.

Expected acc entry

Cr Vendor 915.2

Dr Expense GL 847.46

Dr CGST Tax 76.27

Dr SGST Tax 76.27

Cr WH Tax GL 84.8

We are passing following data in BAPI tables

DOCHEADER - Header data

ACCOUNTGL -

ITEMNO_ACC 2

GL_ACCOUNT 70650139

TAX_CODE P8

COSTCENTER 100040002

ITEMNO_TAX 1

YYHSN_SAC 94031010

ACCOUNTPAYABLE

ITEMNO_ACC 1

VENDOR vend #

BUSINESS PLACE XXXX

SECTIONCODE XXXX

ACCOUNTTAX

ITEMNO_ACC 3 4

GL_ACCOUNT 20630148 20630149

COND_KEY JICG JISG

ACCT_KEY JIC JIS

TAX_CODE P8 P8

TAX_RATE 9 9

ITEMNO_TAX 1 1

CURRENCYAMOUNT

ITEMNO_ACC 1 2 3 4

CURRENCY INR INR INR INR

AMT_DOCCUR 1,000.0000- 847.46 76.27 76.27

EXCH_RATE 1 1 1 1

AMT_BASE 1,000.0000- 847.46 847.46 847.46

TAX_AMT 0 0 76.27 76.27

ACCOUNTWT

ITEMNO_ACC 1

WT_TYPE W5

WT_CODE 5A

BAS_AMT_LC 847.46

BAS_AMT_TC 847.46

Regards

Kapil

Accepted Solutions (0)

Answers (0)