BeyondERP.Newsletter
Menu

Setup step on the Web service settings page · Tax

Set up Web service settings

Use this page to set the address, certificate, web application and request details for each web service that reports are sent to.

See how to set it up Back to Tax

Used by
Accounts payable clerk, Collections manager, Accounts receivable clerk and 6 more roles
Business process
Report tax and financial data to authorities in Dynamics 365 Finance
Menu item
EMWebService
Main table
EMWEBService
Data entity
EMWebServiceEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “A send reaches the success status”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page for web service settings, used to send data directly to a web service.
What you do hereUse this page to set the address, certificate, web application and request details for each web service that reports are sent to.
ExampleFor example, BEAT's VAT return goes to the authority's HTTPS service. It creates web service TAXGATE-VAT with Copy base URL from the web application, its Azure Key Vault certificate, request method POST and successful response code 200.
Web service settings page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Set up Web service settings

Use this page to set the address, certificate, web application and request details for each web service that reports are sent to.

Steps from Microsoft

  1. Go to Tax > Setup > Electronic messages > Web service settings.
  2. Select New and enter the web service name and description.
  3. Select the Web application, then use Copy base URL if the address is the same, or enter the HTTPS Internet address.
  4. Select the Azure Key Vault Certificate, the Request method, the Content type and the Successful response code.
  5. Select the web service on the Web service action in Message processing actions.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Internet addressThe internet address of the web service.Microsoft Learn URL
CertificateAn Azure Key Vault certificate set up earlier.Microsoft Learn
Web applicationA web application set up earlier.Microsoft Learn Name
Request methodThe HTTP method of the request, such as GET or POST.Microsoft Learn RequestMethod
Content typeThe media type of the request.Microsoft Learn RequestContentType
Successful response codeThe HTTP status code that means the request worked.Microsoft Learn SuccessfulResponseCode
Request headers format mappingThe Electronic reporting format that builds the request headers.Microsoft Learn

Common errors and fixes

MessageWhat to do
A sent message gets the Technical error status.Check the Internet address, certificate and Successful response code against the service, then send again. Microsoft Learn

Test checklist

  1. Select the web application and use Copy base URL, then check the address starts with https.
  2. Select the Key Vault certificate, Request method and Content type, and enter the Successful response code.
  3. Run the Web service action for a test message and check it reaches the status set for the Successfully executed response type.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Web service settingsAn HTTPS Internet address (use Copy base URL when it matches the web application), an Azure Key Vault certificate, and the Successful response code the service returnsLearn strongly recommends services with secure, authorized connections such as HTTPS, and the Certificate field takes a Key Vault certificate set up beforehand.Which services may reports be sent to?Pointing to a third-party service without reviewing it. Learn warns such services don't require certification and might not meet Microsoft privacy standards; you carry the risk.Test: A send reaches the success status

Feature management and licence

Licence or add-inOn the live system, these roles have access to this page: Accountant, Accounting manager, Accounting supervisor, Accounts receivable manager, Collections manager, Accounts receivable clerk.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company. Electronic messages setup is imported or set up in each legal entity that reports. Microsoft Learn
Can it be undoneReversible: Settings can be changed and apply to the next request sent through a Web service action.
If you change it laterSettings apply to the next request sent by a Web service action. Messages already sent aren't recalled. Learn warns that third-party services set up here aren't certified by Microsoft and are your responsibility. Microsoft Learn
Technical architect

6Technical

Menu itemEMWebService Checked in Dynamics 365
FormEMWebService Checked in Dynamics 365
TableEMWEBServiceShown as “Web service settings” in Record infoChecked in Dynamics 365
Data entitiesEMWebServiceEntityWeb service settings Checked in Dynamics 365
Who can open it

9 security roles. Select a role to see its duties and privileges.

  • RoleCollections managerCollectionLetterCollectionsManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts receivable clerkCustInvoiceAccountsReceivableClerk
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleTax accountantFBTaxAccountant_BR
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccountantLedgerAccountant
    • DutyMaintain sales tax transactionsTaxSalesTaxTransactionsMaintain
      • PrivilegeMaintain electronic messagesElectronicMessageMaintain
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounting managerLedgerAccountingManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleSales managerTradeSalesManager
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
  • RoleAccounts payable clerkVendInvoiceAccountsPayableClerk
    • DutyInquire into sales tax transaction statusTaxSalesTaxTransactionStatusInquire
      • PrivilegeView electronic messagesElectronicMessageView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccountant LedgerAccountantTo use itAccounting manager LedgerAccountingManagerAccounting supervisor LedgerAccountingSupervisorAccounts receivable manager CustInvoiceAccountsReceivableManagerCollections manager CollectionLetterCollectionsManagerAccounts receivable clerk CustInvoiceAccountsReceivableClerkGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=EMWebService
Integrate withEMWebServiceEntity data entity Checked in Dynamics 365
Data migrationEMWebServiceEntity Loads the web service setting records of this legal entity.Load order: Electronic messages setup is usually imported as one package of data entities for a country/region reporting feature, after the Electronic reporting configurations it links to. Import it with the Data management tool into each legal entity that reports.Load first: Electronic reporting configurations used by the processing, Number sequences for messages and message items in General ledger parametersMicrosoft Learn
Everyone

8Sources

To cite this step: TAX-SETUP-200, Set up Web service settings. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/TAX-SETUP-200