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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Customer / vendor VAT number field

(0) ShareShare
ReportReport
Posted on by 563

Dear All, 

Good day! 

I am looking for fields to add customers / vendors VAT Number in AX 2009. 

I can't seem to find such a field. Could you help me find such a field or create one. 

*This post is locked for comments

I have the same question (0)
  • oldman.logan Profile Picture
    563 on at
    RE: Customer / vendor VAT number field

    Hi. The setup was made for Saudi Arabia.

    I used the "Tax Exempt Number" field under customers - setup to enter the VAT numbers for all customers as we discussed on this thread. Then as per Saudi regulations, I have to print the VAT number of the customer on each Sales Order / invoice.

    I added the field company.info.vatnum to print the customer's VAT Number (Tax Exempt Number) on my invoice. The screen-print shows that the field is blank on generating the invoice and the empty field on being right-clicked shows the form Tax Exempt Numbers but does not pick the VAT number for that customer from the said form.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Customer / vendor VAT number field

    Hi,

    The setup that you made is for which country?

    What does the screenprint above show?

    Best regards,

    Ludwig

  • oldman.logan Profile Picture
    563 on at
    RE: Customer / vendor VAT number field

    Any help, anyone please? :)

  • oldman.logan Profile Picture
    563 on at
    RE: Customer / vendor VAT number field

    Hi! I am able to find the field in companyinfo.VATnum

    However, the number does not appear. It brings up the form name when I right click on the generated invoice. Screenshot below. Am I missing something?

    As Dr. Ludwig mentioned, I am using the TAX Exempt Number field to enter my customers VAT numbers, which need to appear on the invoice. 

    VAT-Num.png

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: Customer / vendor VAT number field

    Hi,

    Please check the fetch method of the report to see the vatNum value is retrieved from tables either custTable (or) custInvoiceJour (or) CompanyInfo.

    Relation to custTable:
    LogisticsAddressCountryRegion:
    TaxVATNumTable.CountryRegionId == LogisticsAddressCountryRegion.CountryRegionId;
    CustTable:
    custTable.postalAddress().CountryRegionId == TaxVATNumTable.CountryRegionId;
    vatNum = custTable.vatNum;

    Relation to custInvoiceJour:
    LogisticsAddressCountryRegion:
    TaxVATNumTable.CountryRegionId == LogisticsAddressCountryRegion.CountryRegionId;
    custInvoiceJour:
    LogisticsPostalAddress::findRecId(custInvoiceJour.InvoicePostalAddress).CountryRegionId;
    vatNum = custInvoiceJour.vatNum;

    Relation to companyInfo:
    LogisticsAddressCountryRegion:
    TaxVATNumTable.CountryRegionId == LogisticsAddressCountryRegion.CountryRegionId;
    CompanyInfo:
    companyInfo.postalAddress().CountryRegionId = TaxVATNumTable.CountryRegionId;
    vatNum = companyInfo.vatNum (or) vatNum = companyInfo.ImportVATNum

    Hope this information helps you.

  • oldman.logan Profile Picture
    563 on at
    RE: Customer / vendor VAT number field

    Dr. Ludwig, Good day! I am trying to have this VAT number / Tax Exempt number printed in our sales invoice. I am having difficulty identifying the table and data field. The table under information of Tax Exempt Number is TaxVatNumTable, however, when I select Data Field "Vat Num", it does not return the VAT number I entered for the particular customer. Any input is appreciated. Screenshot below. 

    VAT-Num.jpg

  • oldman.logan Profile Picture
    563 on at
    RE: Customer / vendor VAT number field

    Thank you for your support! :)

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Customer / vendor VAT number field

    Hi,

    I think this is the right field. If you Switch the language of your application from en-us to en-gb, the field name is VAT number

    1106.cust2.png

    Probably make the setup in a demo system and run some tests on those customers.

    Best regards,

    Ludwig

  • oldman.logan Profile Picture
    563 on at
    RE: Customer / vendor VAT number field

    Hi Dr. Ludwig. Yes I understand. My country requires that I enter the VAT numbers for all customers.  My doubt is, is it the correct field to enter the VAT numbers for all customers? What I don't understand from this is, why is it called Tax "Exempt" number instead of Tax Number or VAT Number? I believe exemption means those customers to who VAT does not have to be charged.  I actually just need a field to enter & record the VAT numbers of all customers and not just customers that are exempted from Tax.  

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Customer / vendor VAT number field

    Hi oldman.logan,

    It depends. In some countries, the government requries to print those number on invoice documents, which would require to enter those tax numbers for all customers. This is something you would have to clarify.

    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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans