Skip to Content

AP Invoice with Withholding Tax Through DI API (C# Code Required)

Hi All,

Required C# Code for AP Invoice with Withholding Tax Through DI API. I am working on a WEB Based Add-on for AP Invoice. Everything post into SAP is perfect but not found any success for the withholding tax. SAP Business One 9.0 PL09

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 19, 2016 at 02:08 PM

    Hi,

    You just need to ensure the supplier has the WT assigned and use the following line in your code: (oDoc being the Documents Object)


    oDoc.WithholdingTaxData.WTCode = "WT01"; //Here goes the WT Code


    The most common error is related to the WT not assigned to the business partner.

    Willing it is useful.

    Best regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.