microsoft.dynamics365.finance.taxregion
Module microsoft.dynamics365.finance.taxregion
API
Definitions
ballerinax/microsoft.dynamics365.finance.taxregion Ballerina library
Overview
Microsoft Dynamics 365 Finance is Microsoft's cloud ERP solution for financial management, covering general ledger, accounts receivable and payable, fixed assets, budgeting, cash and bank management, and tax.
The microsoft.dynamics365.finance.taxregion connector provides access to Microsoft Dynamics 365 Finance Tax Region entities via the OData REST API.
Key Features
- Manage tax region entities in Microsoft Dynamics 365 Finance
- Support for list, create, read, update, and delete operations
- OAuth2 client credentials authentication
Setup guide
Prerequisites
- A Microsoft Dynamics 365 Finance & Operations environment (cloud-hosted or sandbox)
- An Azure Active Directory (Entra ID) app registration with API permissions for Dynamics 365
Step 1: Register an application in Azure AD
-
Sign in to the Azure portal and navigate to Azure Active Directory → App registrations → New registration.
-
Give the application a name, select the appropriate account type, and click Register.
-
Note the Application (client) ID and Directory (tenant) ID from the overview page.
-
Under Certificates & secrets, create a new client secret and note the value immediately — it is only shown once.
Step 2: Grant Dynamics 365 API permissions
-
In the app registration, go to API permissions → Add a permission → APIs my organization uses.
-
Search for Dynamics 365 (or
Microsoft Dynamics ERP) and add theuser_impersonation(or.default) delegated/application scope. -
Click Grant admin consent for your tenant.
Step 3: Add the app as a D365 user
-
In your D365 Finance environment, go to System administration → Users → New.
-
Set the User ID and User name, then paste the Azure AD Application (client) ID into the Azure AD application field.
-
Assign appropriate security roles and save.
Quickstart
To use the microsoft.dynamics365.finance.taxregion connector in your Ballerina application, modify the .bal file as follows:
Step 1: Import the module
import ballerinax/microsoft.dynamics365.finance.taxregion;
Step 2: Instantiate a new connector
configurable string tenantId = ?; configurable string clientId = ?; configurable string clientSecret = ?; configurable string serviceUrl = ?; // e.g. "https://<env>.operations.dynamics.com/data" taxregion:Client cl = check new ({ config = { auth: { tokenUrl: string `https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/token`, clientId, clientSecret, scopes: [string `${serviceUrl}/.default`] } }, serviceUrl );
Step 3: Invoke the connector operation
taxregion:EFDocSchemasCollection results = check cl->listEFDocSchemas();
Step 4: Run the Ballerina application
bal run
Examples
The Dynamics 365 Finance Ballerina connectors provide practical examples illustrating usage in various scenarios. Explore these examples.
Clients
microsoft.dynamics365.finance.taxregion: Client
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://your-org.operations.dynamics.com/data" - URL of the target service
listEFDocSchemas
function listEFDocSchemas(map<string|string[]> headers, *ListEFDocSchemasQueries queries) returns EFDocSchemasCollection|errorList EFDocSchemas
Parameters
- queries *ListEFDocSchemasQueries - Queries to be sent with the request
Return Type
- EFDocSchemasCollection|error - Collection of EFDocSchema
createEFDocSchemas
function createEFDocSchemas(EFDocSchema payload, map<string|string[]> headers) returns EFDocSchema|errorCreate EFDocSchema
Parameters
- payload EFDocSchema - The request body
Return Type
- EFDocSchema|error - EFDocSchema created
getEFDocSchemas
function getEFDocSchemas(string schemaType, string version, map<string|string[]> headers, *GetEFDocSchemasQueries queries) returns EFDocSchema|errorGet EFDocSchema by key
Parameters
- schemaType string - The schema type key field
- version string - The version key field
- queries *GetEFDocSchemasQueries - Queries to be sent with the request
Return Type
- EFDocSchema|error - EFDocSchema
deleteEFDocSchemas
function deleteEFDocSchemas(string schemaType, string version, DeleteEFDocSchemasHeaders headers) returns error?Delete EFDocSchema
Parameters
- schemaType string - The schema type key field
- version string - The version key field
- headers DeleteEFDocSchemasHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - EFDocSchema deleted
updateEFDocSchemas
function updateEFDocSchemas(string schemaType, string version, EFDocSchema payload, UpdateEFDocSchemasHeaders headers) returns EFDocSchema|errorUpdate EFDocSchema
Parameters
- schemaType string - The schema type key field
- version string - The version key field
- payload EFDocSchema - The request body
- headers UpdateEFDocSchemasHeaders (default {}) - Headers to be sent with the request
Return Type
- EFDocSchema|error - EFDocSchema updated
listISRConcepts
function listISRConcepts(map<string|string[]> headers, *ListISRConceptsQueries queries) returns ISRConceptsCollection|errorList ISRConcepts
Parameters
- queries *ListISRConceptsQueries - Queries to be sent with the request
Return Type
- ISRConceptsCollection|error - Collection of ISRConcept
createISRConcepts
function createISRConcepts(ISRConcept payload, map<string|string[]> headers) returns ISRConcept|errorCreate ISRConcept
Parameters
- payload ISRConcept - The request body
Return Type
- ISRConcept|error - ISRConcept created
getISRConcepts
function getISRConcepts(string dataAreaId, string conceptId, string mainAccountId, string chartOfAccountsName, map<string|string[]> headers, *GetISRConceptsQueries queries) returns ISRConcept|errorGet ISRConcept by key
Parameters
- dataAreaId string - The company data area identifier
- conceptId string - The concept id key field
- mainAccountId string - The main account id key field
- chartOfAccountsName string - The chart of accounts name key field
- queries *GetISRConceptsQueries - Queries to be sent with the request
Return Type
- ISRConcept|error - ISRConcept
deleteISRConcepts
function deleteISRConcepts(string dataAreaId, string conceptId, string mainAccountId, string chartOfAccountsName, DeleteISRConceptsHeaders headers) returns error?Delete ISRConcept
Parameters
- dataAreaId string - The company data area identifier
- conceptId string - The concept id key field
- mainAccountId string - The main account id key field
- chartOfAccountsName string - The chart of accounts name key field
- headers DeleteISRConceptsHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - ISRConcept deleted
updateISRConcepts
function updateISRConcepts(string dataAreaId, string conceptId, string mainAccountId, string chartOfAccountsName, ISRConcept payload, UpdateISRConceptsHeaders headers) returns ISRConcept|errorUpdate ISRConcept
Parameters
- dataAreaId string - The company data area identifier
- conceptId string - The concept id key field
- mainAccountId string - The main account id key field
- chartOfAccountsName string - The chart of accounts name key field
- payload ISRConcept - The request body
- headers UpdateISRConceptsHeaders (default {}) - Headers to be sent with the request
Return Type
- ISRConcept|error - ISRConcept updated
listISRRates
function listISRRates(map<string|string[]> headers, *ListISRRatesQueries queries) returns ISRRatesCollection|errorList ISRRates
Parameters
- queries *ListISRRatesQueries - Queries to be sent with the request
Return Type
- ISRRatesCollection|error - Collection of ISRRate
createISRRates
Create ISRRate
Parameters
- payload ISRRate - The request body
getISRRates
function getISRRates(string dataAreaId, int year, int month, decimal maximumAmount, map<string|string[]> headers, *GetISRRatesQueries queries) returns ISRRate|errorGet ISRRate by key
Parameters
- dataAreaId string - The company data area identifier
- year int - The year key field
- month int - The month key field
- maximumAmount decimal - The maximum amount key field
- queries *GetISRRatesQueries - Queries to be sent with the request
deleteISRRates
function deleteISRRates(string dataAreaId, int year, int month, decimal maximumAmount, DeleteISRRatesHeaders headers) returns error?Delete ISRRate
Parameters
- dataAreaId string - The company data area identifier
- year int - The year key field
- month int - The month key field
- maximumAmount decimal - The maximum amount key field
- headers DeleteISRRatesHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - ISRRate deleted
updateISRRates
function updateISRRates(string dataAreaId, int year, int month, decimal maximumAmount, ISRRate payload, UpdateISRRatesHeaders headers) returns ISRRate|errorUpdate ISRRate
Parameters
- dataAreaId string - The company data area identifier
- year int - The year key field
- month int - The month key field
- maximumAmount decimal - The maximum amount key field
- payload ISRRate - The request body
- headers UpdateISRRatesHeaders (default {}) - Headers to be sent with the request
listIntervats
function listIntervats(map<string|string[]> headers, *ListIntervatsQueries queries) returns IntervatsCollection|errorList Intervats
Parameters
- queries *ListIntervatsQueries - Queries to be sent with the request
Return Type
- IntervatsCollection|error - Collection of Intervat
createIntervats
Create Intervat
Parameters
- payload Intervat - The request body
getIntervats
function getIntervats(string dataAreaId, string intervatId, string validFrom, string validTo, map<string|string[]> headers, *GetIntervatsQueries queries) returns Intervat|errorGet Intervat by key
Parameters
- dataAreaId string - The company data area identifier
- intervatId string - The intervat id key field
- validFrom string - The valid from key field
- validTo string - The valid to key field
- queries *GetIntervatsQueries - Queries to be sent with the request
deleteIntervats
function deleteIntervats(string dataAreaId, string intervatId, string validFrom, string validTo, DeleteIntervatsHeaders headers) returns error?Delete Intervat
Parameters
- dataAreaId string - The company data area identifier
- intervatId string - The intervat id key field
- validFrom string - The valid from key field
- validTo string - The valid to key field
- headers DeleteIntervatsHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - Intervat deleted
updateIntervats
function updateIntervats(string dataAreaId, string intervatId, string validFrom, string validTo, Intervat payload, UpdateIntervatsHeaders headers) returns Intervat|errorUpdate Intervat
Parameters
- dataAreaId string - The company data area identifier
- intervatId string - The intervat id key field
- validFrom string - The valid from key field
- validTo string - The valid to key field
- payload Intervat - The request body
- headers UpdateIntervatsHeaders (default {}) - Headers to be sent with the request
listNIPTables
function listNIPTables(map<string|string[]> headers, *ListNIPTablesQueries queries) returns NIPTablesCollection|errorList NIPTables
Parameters
- queries *ListNIPTablesQueries - Queries to be sent with the request
Return Type
- NIPTablesCollection|error - Collection of NIPTable
createNIPTables
Create NIPTable
Parameters
- payload NIPTable - The request body
getNIPTables
function getNIPTables(string dataAreaId, string code, map<string|string[]> headers, *GetNIPTablesQueries queries) returns NIPTable|errorGet NIPTable by key
Parameters
- dataAreaId string - The company data area identifier
- code string - The code key field
- queries *GetNIPTablesQueries - Queries to be sent with the request
deleteNIPTables
function deleteNIPTables(string dataAreaId, string code, DeleteNIPTablesHeaders headers) returns error?Delete NIPTable
Parameters
- dataAreaId string - The company data area identifier
- code string - The code key field
- headers DeleteNIPTablesHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - NIPTable deleted
updateNIPTables
function updateNIPTables(string dataAreaId, string code, NIPTable payload, UpdateNIPTablesHeaders headers) returns NIPTable|errorUpdate NIPTable
Parameters
- dataAreaId string - The company data area identifier
- code string - The code key field
- payload NIPTable - The request body
- headers UpdateNIPTablesHeaders (default {}) - Headers to be sent with the request
listNRTaxTrans
function listNRTaxTrans(map<string|string[]> headers, *ListNRTaxTransQueries queries) returns NRTaxTransCollection|errorList NRTaxTrans
Parameters
- queries *ListNRTaxTransQueries - Queries to be sent with the request
Return Type
- NRTaxTransCollection|error - Collection of NRTaxTrans
createNRTaxTrans
function createNRTaxTrans(NRTaxTrans payload, map<string|string[]> headers) returns NRTaxTrans|errorCreate NRTaxTrans
Parameters
- payload NRTaxTrans - The request body
Return Type
- NRTaxTrans|error - NRTaxTrans created
getNRTaxTrans
function getNRTaxTrans(string dataAreaId, string lineId, map<string|string[]> headers, *GetNRTaxTransQueries queries) returns NRTaxTrans|errorGet NRTaxTrans by key
Parameters
- dataAreaId string - The company data area identifier
- lineId string - The line id key field
- queries *GetNRTaxTransQueries - Queries to be sent with the request
Return Type
- NRTaxTrans|error - NRTaxTrans
deleteNRTaxTrans
function deleteNRTaxTrans(string dataAreaId, string lineId, DeleteNRTaxTransHeaders headers) returns error?Delete NRTaxTrans
Parameters
- dataAreaId string - The company data area identifier
- lineId string - The line id key field
- headers DeleteNRTaxTransHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - NRTaxTrans deleted
updateNRTaxTrans
function updateNRTaxTrans(string dataAreaId, string lineId, NRTaxTrans payload, UpdateNRTaxTransHeaders headers) returns NRTaxTrans|errorUpdate NRTaxTrans
Parameters
- dataAreaId string - The company data area identifier
- lineId string - The line id key field
- payload NRTaxTrans - The request body
- headers UpdateNRTaxTransHeaders (default {}) - Headers to be sent with the request
Return Type
- NRTaxTrans|error - NRTaxTrans updated
listTax1099Fields
function listTax1099Fields(map<string|string[]> headers, *ListTax1099FieldsQueries queries) returns Tax1099FieldsCollection|errorList Tax1099Fields
Parameters
- queries *ListTax1099FieldsQueries - Queries to be sent with the request
Return Type
- Tax1099FieldsCollection|error - Collection of Tax1099Field
createTax1099Fields
function createTax1099Fields(Tax1099Field payload, map<string|string[]> headers) returns Tax1099Field|errorCreate Tax1099Field
Parameters
- payload Tax1099Field - The request body
Return Type
- Tax1099Field|error - Tax1099Field created
getTax1099Fields
function getTax1099Fields(string dataAreaId, string typeOfTax1099Form, string tax1099Box, map<string|string[]> headers, *GetTax1099FieldsQueries queries) returns Tax1099Field|errorGet Tax1099Field by key
Parameters
- dataAreaId string - The company data area identifier
- typeOfTax1099Form string - The type of tax1099 form key field
- tax1099Box string - The tax1099 box key field
- queries *GetTax1099FieldsQueries - Queries to be sent with the request
Return Type
- Tax1099Field|error - Tax1099Field
deleteTax1099Fields
function deleteTax1099Fields(string dataAreaId, string typeOfTax1099Form, string tax1099Box, DeleteTax1099FieldsHeaders headers) returns error?Delete Tax1099Field
Parameters
- dataAreaId string - The company data area identifier
- typeOfTax1099Form string - The type of tax1099 form key field
- tax1099Box string - The tax1099 box key field
- headers DeleteTax1099FieldsHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - Tax1099Field deleted
updateTax1099Fields
function updateTax1099Fields(string dataAreaId, string typeOfTax1099Form, string tax1099Box, Tax1099Field payload, UpdateTax1099FieldsHeaders headers) returns Tax1099Field|errorUpdate Tax1099Field
Parameters
- dataAreaId string - The company data area identifier
- typeOfTax1099Form string - The type of tax1099 form key field
- tax1099Box string - The tax1099 box key field
- payload Tax1099Field - The request body
- headers UpdateTax1099FieldsHeaders (default {}) - Headers to be sent with the request
Return Type
- Tax1099Field|error - Tax1099Field updated
listTaxDocuments
function listTaxDocuments(map<string|string[]> headers, *ListTaxDocumentsQueries queries) returns TaxDocumentsCollection|errorList TaxDocuments
Parameters
- queries *ListTaxDocumentsQueries - Queries to be sent with the request
Return Type
- TaxDocumentsCollection|error - Collection of TaxDocument
createTaxDocuments
function createTaxDocuments(TaxDocument payload, map<string|string[]> headers) returns TaxDocument|errorCreate TaxDocument
Parameters
- payload TaxDocument - The request body
Return Type
- TaxDocument|error - TaxDocument created
getTaxDocuments
function getTaxDocuments(string dataAreaId, string taxDocumentNumber, int custVendTransTableId, map<string|string[]> headers, *GetTaxDocumentsQueries queries) returns TaxDocument|errorGet TaxDocument by key
Parameters
- dataAreaId string - The company data area identifier
- taxDocumentNumber string - The tax document number key field
- custVendTransTableId int - The cust vend trans table id key field
- queries *GetTaxDocumentsQueries - Queries to be sent with the request
Return Type
- TaxDocument|error - TaxDocument
deleteTaxDocuments
function deleteTaxDocuments(string dataAreaId, string taxDocumentNumber, int custVendTransTableId, DeleteTaxDocumentsHeaders headers) returns error?Delete TaxDocument
Parameters
- dataAreaId string - The company data area identifier
- taxDocumentNumber string - The tax document number key field
- custVendTransTableId int - The cust vend trans table id key field
- headers DeleteTaxDocumentsHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - TaxDocument deleted
updateTaxDocuments
function updateTaxDocuments(string dataAreaId, string taxDocumentNumber, int custVendTransTableId, TaxDocument payload, UpdateTaxDocumentsHeaders headers) returns TaxDocument|errorUpdate TaxDocument
Parameters
- dataAreaId string - The company data area identifier
- taxDocumentNumber string - The tax document number key field
- custVendTransTableId int - The cust vend trans table id key field
- payload TaxDocument - The request body
- headers UpdateTaxDocumentsHeaders (default {}) - Headers to be sent with the request
Return Type
- TaxDocument|error - TaxDocument updated
Records
microsoft.dynamics365.finance.taxregion: ConnectionConfig
Fields
- auth? OAuth2ClientCredentialsGrantConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
microsoft.dynamics365.finance.taxregion: DeleteEFDocSchemasHeaders
Represents the Headers record for the operation: deleteEFDocSchemas
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteIntervatsHeaders
Represents the Headers record for the operation: deleteIntervats
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteISRConceptsHeaders
Represents the Headers record for the operation: deleteISRConcepts
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteISRRatesHeaders
Represents the Headers record for the operation: deleteISRRates
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteNIPTablesHeaders
Represents the Headers record for the operation: deleteNIPTables
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteNRTaxTransHeaders
Represents the Headers record for the operation: deleteNRTaxTrans
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteTax1099FieldsHeaders
Represents the Headers record for the operation: deleteTax1099Fields
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: DeleteTaxDocumentsHeaders
Represents the Headers record for the operation: deleteTaxDocuments
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: EFDocSchema
Fields
- version? EFiscalDocVersionBR -
- schemaType? EFDocSchemaTypeBR -
- schemaFilePath? string -
microsoft.dynamics365.finance.taxregion: EFDocSchemasCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *EFDocSchemasCollectionAllOf2
- value EFDocSchema[]
- anydata...
microsoft.dynamics365.finance.taxregion: EFDocSchemasCollectionAllOf2
Fields
- value? EFDocSchema[] -
microsoft.dynamics365.finance.taxregion: GetEFDocSchemasQueries
Represents the Queries record for the operation: getEFDocSchemas
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetIntervatsQueries
Represents the Queries record for the operation: getIntervats
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetISRConceptsQueries
Represents the Queries record for the operation: getISRConcepts
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetISRRatesQueries
Represents the Queries record for the operation: getISRRates
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetNIPTablesQueries
Represents the Queries record for the operation: getNIPTables
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetNRTaxTransQueries
Represents the Queries record for the operation: getNRTaxTrans
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetTax1099FieldsQueries
Represents the Queries record for the operation: getTax1099Fields
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: GetTaxDocumentsQueries
Represents the Queries record for the operation: getTaxDocuments
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: Intervat
Fields
- status? TaxIntervatStatus -
- intervatId? string -
- telephone? string -
- amount? decimal -
- replacedVATDeclaration? string -
- period? string -
- filename? string -
- eMail? string -
- salesTaxBox? string -
- salesTaxNumber? string -
- dataAreaId? string -
- companyName? string -
- validTo? string -
- validFrom? string -
- requestForReimbursement? NoYes -
- enterpriseNumber? string -
- nilAnnualListing? NoYes -
- periodFrequency? TaxIntervatFrequency -
- preparationDate? string -
- requestForPaymentForms? NoYes -
- location? string -
microsoft.dynamics365.finance.taxregion: IntervatsCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *IntervatsCollectionAllOf2
- value Intervat[]
- anydata...
microsoft.dynamics365.finance.taxregion: IntervatsCollectionAllOf2
Fields
- value? Intervat[] -
microsoft.dynamics365.finance.taxregion: ISRConcept
Fields
- dataAreaId? string -
- description? string -
- debitCreditIndicator? ISRCreditDebitMX -
- chartOfAccountsName? string -
- conceptId? ISRConceptCategoryMX -
- mainAccountId? string -
microsoft.dynamics365.finance.taxregion: ISRConceptsCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *ISRConceptsCollectionAllOf2
- value ISRConcept[]
- anydata...
microsoft.dynamics365.finance.taxregion: ISRConceptsCollectionAllOf2
Fields
- value? ISRConcept[] -
microsoft.dynamics365.finance.taxregion: ISRRate
Fields
- dataAreaId? string -
- month? Signed32 -
- year? Signed32 -
- rate? decimal -
- maximumAmount? decimal -
- fixedAmount? decimal -
microsoft.dynamics365.finance.taxregion: ISRRatesCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *ISRRatesCollectionAllOf2
- value ISRRate[]
- anydata...
microsoft.dynamics365.finance.taxregion: ISRRatesCollectionAllOf2
Fields
- value? ISRRate[] -
microsoft.dynamics365.finance.taxregion: ListEFDocSchemasQueries
Represents the Queries record for the operation: listEFDocSchemas
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListIntervatsQueries
Represents the Queries record for the operation: listIntervats
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListISRConceptsQueries
Represents the Queries record for the operation: listISRConcepts
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListISRRatesQueries
Represents the Queries record for the operation: listISRRates
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListNIPTablesQueries
Represents the Queries record for the operation: listNIPTables
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListNRTaxTransQueries
Represents the Queries record for the operation: listNRTaxTrans
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListTax1099FieldsQueries
Represents the Queries record for the operation: listTax1099Fields
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: ListTaxDocumentsQueries
Represents the Queries record for the operation: listTaxDocuments
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.taxregion: NIPTable
Fields
- dataAreaId? string -
- nIPNumber? string -
- code? string -
- addressing? string -
- accountName? string -
microsoft.dynamics365.finance.taxregion: NIPTablesCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *NIPTablesCollectionAllOf2
- value NIPTable[]
- anydata...
microsoft.dynamics365.finance.taxregion: NIPTablesCollectionAllOf2
Fields
- value? NIPTable[] -
microsoft.dynamics365.finance.taxregion: NRTaxTrans
Fields
- invoice? string -
- packingMaterialCode? string -
- transType? LvNRTransType -
- referenceTableID? Signed32 -
- packingUnitQty? decimal -
- taxBaseAmount? decimal -
- dataAreaId? string -
- taxAmount? decimal -
- itemNumber? string -
- number? string -
- taxCode? string -
- itemQty? decimal -
- salesTaxGroup? string -
- lineId? string -
- taxValue? decimal -
- packingUnitWeight? decimal -
- inventTransId? string -
- dimensionNumber? string -
- packingWeight? decimal -
- voucher? string -
- transRecIdReference? int -
- nRTaxGroup? string -
- packingQty? decimal -
- transDate? string -
- packingUnit? string -
- inventTransTypeReference? InventTransType -
- bOMLine? NoYes -
microsoft.dynamics365.finance.taxregion: NRTaxTransCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *NRTaxTransCollectionAllOf2
- value NRTaxTrans[]
- anydata...
microsoft.dynamics365.finance.taxregion: NRTaxTransCollectionAllOf2
Fields
- value? NRTaxTrans[] -
microsoft.dynamics365.finance.taxregion: OAuth2ClientCredentialsGrantConfig
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string(default "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token") - Token URL
microsoft.dynamics365.finance.taxregion: ODataCollection
Fields
- odataNextLink? string -
- odataCount? int -
- odataContext? string -
microsoft.dynamics365.finance.taxregion: Tax1099Field
Fields
- dataAreaId? string -
- description? string -
- boxNumber? Signed32 -
- form? string -
- typeOfTax1099Form? Tax1099Type -
- minimumAmount? decimal -
- tax1099Box? string -
microsoft.dynamics365.finance.taxregion: Tax1099FieldsCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *Tax1099FieldsCollectionAllOf2
- value Tax1099Field[]
- anydata...
microsoft.dynamics365.finance.taxregion: Tax1099FieldsCollectionAllOf2
Fields
- value? Tax1099Field[] -
microsoft.dynamics365.finance.taxregion: TaxationCode
Fields
- dataAreaId? string -
- taxType? TaxTypeBR -
- outputCode? string -
- description? string -
- fiscalValue? TaxFiscalValueBR -
- fromDate? string -
- toDate? string -
- taxationCode? string -
- spedCode? string -
- inputCode? string -
microsoft.dynamics365.finance.taxregion: TaxCode
Fields
- reportingCodeTaxablePurchases? Signed32 -
- vATChargeSource? VATChargeSourceRU -
- reportingCodeTaxFreeBuyDebitNote? Signed32 -
- reportingCodeUseTaxOffsetCreditNote? Signed32 -
- taxationCode? string -
- isInvestment? NoYes -
- reportingCodeSalesTaxReceivableCreditNote? Signed32 -
- dataAreaId? string -
- diotAddInfo? NoYes -
- taxCalculationMethod? TaxCalcMode -
- reportingCodeTaxOutgoingDebitNote? Signed32 -
- reportingCodeBaseOutgoingDebitNote? Signed32 -
- reportingCodeTaxFreePurchase? Signed32 -
- japanTaxType? TaxTypeJP -
- domesticCustomsPractice? NoYes -
- taxLimitBase? TaxLimitBase -
- reportingCodeTaxFreeSaleCreditNote? Signed32 -
- reportingCodeTaxableImport? Signed32 -
- reportingCodeUseTax? Signed32 -
- taxSubstitutionMethod? TaxSubstitutionEnumBR -
- reportingCodeTaxFreeSale? Signed32 -
- negativeTax? NoYes -
- unrealizedTax? NoYes -
- packingDutySortCode? string -
- reportingCodeSalesTaxPayableCreditNote? Signed32 -
- taxCountryRegionType? CountryRegionType -
- descriptionQRBill? string -
- packingDuty? NoYes -
- taxBase? TaxBaseType -
- mexicoTaxType? TaxTypeMX -
- reportingCodeUseTaxCreditNote? Signed32 -
- taxType? TaxTypeTH -
- brazilTaxType? TaxTypeBR -
- notEUSalesList? NoYes -
- reportingCodeTaxableSales? Signed32 -
- reportingCodeTaxablePurchasesCreditNote? Signed32 -
- reportingCodeTaxFreePurchaseCreditNote? Signed32 -
- singaporeTaxType? TaxTypeSG -
- taxSubstitutionCalculationMethod? TaxSubstitutionBaseRedCalculationModeBR -
- reportingCodeSalesTaxReceivable? Signed32 -
- taxPeriodId? string -
- reportingCodeTaxableSalesCreditNote? Signed32 -
- reportingCodeSalesTaxPayable? Signed32 -
- taxCode? string -
- printCode? string -
- reportingCodeUseTaxOffset? Signed32 -
- taxRoundOffType? RoundOffType -
- taxUnitId? string -
- fiscalValue? TaxFiscalValueBR -
- calculateUnitTaxBeforeSalesTax? NoYes -
- taxCurrencyCodeId? string -
- reportingCodeTaxableImportOffset? Signed32 -
- isGST? NoYes -
- typeOfTax? TaxTypeW -
- paymentTaxCodeId? string -
- taxRoundOff? decimal -
- taxName? string -
- revenueCode? string -
- reportingCodeTaxableImportOffsetCreditNote? Signed32 -
- excludeFromInvoice? NoYes -
- taxOnTax? string -
- reportingCodeTaxFreeSalesDebitNote? Signed32 -
- retainedTax? NoYes -
- includedTax? NoYes -
- taxVatReportCategoryCode? string -
- reportingCodeTaxableImportCreditNote? Signed32 -
- reportingCodeTaxIncomingDebitNote? Signed32 -
- taxPostingGroupId? string -
- reportingCodeBaseIncomingDebitNote? Signed32 -
- printCodeType? TaxWriteSelection -
microsoft.dynamics365.finance.taxregion: TaxDocument
Fields
- taxCreditMemoNumber? string -
- taxCreditMemoTransactionAmountInTransactionCurrency? decimal -
- taxCreditMemoTransactionTaxAmountInCurrency? decimal -
- amountInTransactionCurrency? decimal -
- amount? decimal -
- taxCreditMemoTransactionAmount? decimal -
- taxDocumentNumber? string -
- custVendTransTableId? Signed32 -
- taxDocumentTransactionTaxAmountInCurrency? decimal -
- taxDocumentTransactionTypeOfTax? TaxTypeW -
- dataAreaId? string -
- taxCreditMemoTransactionTypeOfTax? TaxTypeW -
- taxAmount? decimal -
- taxDocumentDate? string -
- taxDocumentTransactionTaxAmount? decimal -
- taxCreditMemoDate? string -
- taxDocumentTransactionTaxValue? decimal -
- taxCreditMemoTransactionTaxAmount? decimal -
- taxCreditMemoTransactionTaxValue? decimal -
- taxDocumentTransactionAmount? decimal -
- taxDocumentTransactionAmountInTransactionCurrency? decimal -
- taxAmountInCurrency? decimal -
microsoft.dynamics365.finance.taxregion: TaxDocumentsCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *TaxDocumentsCollectionAllOf2
- value TaxDocument[]
- anydata...
microsoft.dynamics365.finance.taxregion: TaxDocumentsCollectionAllOf2
Fields
- value? TaxDocument[] -
microsoft.dynamics365.finance.taxregion: UpdateEFDocSchemasHeaders
Represents the Headers record for the operation: updateEFDocSchemas
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateIntervatsHeaders
Represents the Headers record for the operation: updateIntervats
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateISRConceptsHeaders
Represents the Headers record for the operation: updateISRConcepts
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateISRRatesHeaders
Represents the Headers record for the operation: updateISRRates
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateNIPTablesHeaders
Represents the Headers record for the operation: updateNIPTables
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateNRTaxTransHeaders
Represents the Headers record for the operation: updateNRTaxTrans
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateTax1099FieldsHeaders
Represents the Headers record for the operation: updateTax1099Fields
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.taxregion: UpdateTaxDocumentsHeaders
Represents the Headers record for the operation: updateTaxDocuments
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
Union types
microsoft.dynamics365.finance.taxregion: TaxLimitBase
TaxLimitBase
microsoft.dynamics365.finance.taxregion: EFiscalDocVersionBR
EFiscalDocVersionBR
microsoft.dynamics365.finance.taxregion: RoundOffType
RoundOffType
microsoft.dynamics365.finance.taxregion: TaxTypeMX
TaxTypeMX
microsoft.dynamics365.finance.taxregion: TaxCalcMode
TaxCalcMode
microsoft.dynamics365.finance.taxregion: VATChargeSourceRU
VATChargeSourceRU
microsoft.dynamics365.finance.taxregion: TaxWriteSelection
TaxWriteSelection
microsoft.dynamics365.finance.taxregion: TaxIntervatFrequency
TaxIntervatFrequency
microsoft.dynamics365.finance.taxregion: CountryRegionType
CountryRegionType
microsoft.dynamics365.finance.taxregion: TaxTypeSG
TaxTypeSG
microsoft.dynamics365.finance.taxregion: LvNRTransType
LvNRTransType
microsoft.dynamics365.finance.taxregion: TaxBaseType
TaxBaseType
microsoft.dynamics365.finance.taxregion: TaxSubstitutionBaseRedCalculationModeBR
TaxSubstitutionBaseRedCalculationModeBR
microsoft.dynamics365.finance.taxregion: Tax1099Type
Tax1099Type
microsoft.dynamics365.finance.taxregion: TaxTypeTH
TaxTypeTH
microsoft.dynamics365.finance.taxregion: TaxTypeBR
TaxTypeBR
microsoft.dynamics365.finance.taxregion: InventTransType
InventTransType
microsoft.dynamics365.finance.taxregion: TaxTypeW
TaxTypeW
microsoft.dynamics365.finance.taxregion: ISRCreditDebitMX
ISRCreditDebitMX
microsoft.dynamics365.finance.taxregion: NoYes
NoYes
microsoft.dynamics365.finance.taxregion: TaxSubstitutionEnumBR
TaxSubstitutionEnumBR
microsoft.dynamics365.finance.taxregion: TaxFiscalValueBR
TaxFiscalValueBR
microsoft.dynamics365.finance.taxregion: TaxIntervatStatus
TaxIntervatStatus
microsoft.dynamics365.finance.taxregion: TaxTypeJP
TaxTypeJP
microsoft.dynamics365.finance.taxregion: ISRConceptCategoryMX
ISRConceptCategoryMX
microsoft.dynamics365.finance.taxregion: EFDocSchemaTypeBR
EFDocSchemaTypeBR
Import
import ballerinax/microsoft.dynamics365.finance.taxregion;Other versions
0.8.0
Metadata
Released date: 1 day ago
Version: 0.8.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.0
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
Name/Microsoft Dynamics 365 Finance Tax Region
Area/Tax
Vendor/Microsoft
Dynamics365
Finance
ERP
Type/Connector
Tax
Regional
Compliance
Country
Contributors