web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

VAT and mischarge in Purchase order

(0) ShareShare
ReportReport
Posted on by 45

Dear

our purchase order have mischarge such as (Freight, Customs) the amount of those misc should be included on VAT

E:  Purchase price for one pcs is 100   , Freight is 10 , Customs is 20)

when I implemented on AX the system calculate the VAT as 100 - 10 - 20 = 70  * 0.05

but I thing it should be 100 + 10 + 20 = 130 * 0.05

any idea about this.

thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Mustafa Barry,

    I am not clear how you recorded your charges. Did you make use of a charge code? If so, how did you set it up? Have they linked an item sales tax group?

    Best regards,

    Ludwig

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Mustafa,

    How did you setup the charges? Possibly you have put the customer/vendor on the wrong side. Did you do the setup on the debit or the credit side? Try to switch this.

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    AP-Setup- MIsc Charges -Misc. charges code

     Set up your freight misc charge with  an item tax group assigned.  This will default the tax group when you add the misc charge on an order.  With your tax codes are configured  AX should apply tax.

  • Mustafa Barry Profile Picture
    45 on at

    Yes we are using the charge code as below ,

    once I allocate the misc and then check the sales tax it become negative

  • Mustafa Barry Profile Picture
    45 on at

    Hi,

    I traced the code for the  sales tax calculation , the system change the sign to negative because it's purchase related.

    the below code from mrkuptrans\signedvalue.

    AmountCur signedValue(AmountCur _amountCur)

    {

       AmountCur signedValue;

       if (this.isMarkupSalesRelated())

       {

           if (this.markupTable().CustType == MarkupType::CustVend)

           {

               signedValue = _amountCur;

           }

           else

           {

               signedValue = -_amountCur;

           }

       }

       else

       {

           if (this.markupTable().VendType == MarkupType::CustVend)

           {

               signedValue = _amountCur;

           }

           else

           {

               signedValue = -_amountCur;

           }

       }

       return signedValue;

    }

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    hi Mustafa Barry

    this code is normal, based on your charge code setup

    so can you share screen shoot from your charge code setup ,  maybe as André  said Possibly you have put the customer/vendor on the wrong side

  • Mustafa Barry Profile Picture
    45 on at

    this is how we setup the freight mischarge , our company will paid the tax on the freight not by the vendor. the mischarge posted correctly to the GL and the amount debit the inventory , but once I activate the tax , the amount of tax become negative which reduce from the total tax for the purchase order amount.

    2017_2D00_10_2D00_22_5F00_10_2D00_25_2D00_34.jpg

    thanks

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Mustafa,

    What do you mean by saying that you activate the tax?

    What did you do for this activation?

    Best regards,

    Ludwig

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans