Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

eConnect for invoice matching against a PO

(0) ShareShare
ReportReport
Posted on by

I created an eConnect integration to match Receipts against Purchase Orders in Dynamics GP.  The integration works fine when there is no tax. 

But when there is tax I get Error Code 4805 which is "taPopEnterMatchInvHdr, Tax detail amount does not match the header tax amounts, POPRCTNM, TAXAMNT FRTTXAMT MSCTXAMT," 

There is no Freight Tax or Misc Tax.  

I'm using these two eConnect stored procedures (from within TIBCO Scribe):  taPopRcptHdrInsert and taPopRcpLineInsert

I'm testing with one header record and one detail record. I verified that the Tax Amount is the same in both the header and detail.

Do I also need to use: taPopRcptLineTaxInsert?

We're on version 2018 of Dynamics GP.

Thank you.

-Michael

Categories:
  • Verified answer
    Derek Albaugh Profile Picture
    on at
    RE: eConnect for invoice matching against a PO

    Looking at this error information in the taPopEnterMatchInvHdr procedure:

    select @TAXAMNTH = (isnull(sum(TXDTOTTX),0)) from POP10360 (nolock) where POPRCTNM = @I_vPOPRCTNM and RCPTLNNM <> 0 and BKOUTTAX = 0

    if (@TAXAMNTH <> @I_vTAXAMNT + @I_vFRTTXAMT + @I_vMSCTXAMT)

    begin

    select @O_iErrorState = 4805  

    It does look like these values have to be manually entered, which is what I verified speaking with my resources as well.

    The taPopIvcTaxInsert procedure you mentioned does have these values in it, that you can specify, so may be what you want to look at:

    @I_vTAXAMNT numeric (19,5)=0,  

    @I_vFRTTXAMT numeric (19,5)=0,  

    @I_vMSCTXAMT numeric(19,5)=0,  

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans