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)
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156