Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

E-invoicing - Error in getting response from Tax

(0) ShareShare
ReportReport
Posted on by 35

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
    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
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,983 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans