Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

E-invoicing - Error in getting response from Tax

Posted on by 20

This Code :

Dim responseString As String = Encoding.UTF8.GetString(responseBytes)

Dosnt work on Dynamics GP2013 

Full Code:

Dim postData As String = Json
Dim dataBytes As Byte() = Encoding.UTF8.GetBytes(postData)

client.Headers.Add(HttpRequestHeader.ContentType, "application/json")

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

Dim responseBytes As Byte() = client.UploadData("">backend.jofotara.gov.jo/.../", "POST", dataBytes)

Dim responseString As String = Encoding.UTF8.GetString(responseBytes)

  • Owenhicks Profile Picture
    Owenhicks 5 on at
    RE: E-invoicing - Error in getting response from Tax

    Hello, Here are a few suggestions you can try to troubleshoot the problem: Verify the endpoint: Ensure that the URL you're using for the web service endpoint is correct and accessible from the Dynamics GP2013 environment. Check security settings: Confirm that the security settings, such as TLS version, are compatible with the web service. In your code, you have already set the security protocol to TLS 1.2, which is generally recommended. Handle exceptions: Wrap the code in a try-catch block to catch any exceptions that might be occurring during the execution. This will help you identify any specific errors or exceptions that are causing the code to fail. Debugging: If possible, try debugging the code in a development environment to get more detailed information about the issue. This can help pinpoint the problem and provide additional insights.    mybkexperience

  • sorena123 Profile Picture
    sorena123 5 on at
    RE: E-invoicing - Error in getting response from Tax

    E-invoicing, or electronic invoicing, is the process of sending and receiving invoices electronically between businesses and tax authorities. It aims to streamline the invoicing process, reduce errors, and enhance tax compliance. The specific requirements and procedures for e-invoicing may vary depending on the country or region you're operating in.                                                PrepaidGiftBalance Mastercard

    Ensure that the e-invoices you've submitted contain all the required information and are in compliance with the tax regulations. Mistakes or missing details could potentially result in processing errors or delays.Confirm that you're using the correct submission method specified by the tax authorities. Different countries may have different systems or platforms for submitting e-invoices. Ensure that you're following the correct procedures and using the designated channels.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans