microsoft.dynamics365.finance.journalentry
Module microsoft.dynamics365.finance.journalentry
API
Definitions
ballerinax/microsoft.dynamics365.finance.journalentry 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.journalentry connector provides access to Microsoft Dynamics 365 Finance Journal Entry entities via the OData REST API.
Key Features
- Manage journal entry 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.journalentry connector in your Ballerina application, modify the .bal file as follows:
Step 1: Import the module
import ballerinax/microsoft.dynamics365.finance.journalentry;
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" journalentry: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
journalentry:JournalLinesCollection results = check cl->listJournalLines();
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.journalentry: 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
listJournalLines
function listJournalLines(map<string|string[]> headers, *ListJournalLinesQueries queries) returns JournalLinesCollection|errorList JournalLines
Parameters
- queries *ListJournalLinesQueries - Queries to be sent with the request
Return Type
- JournalLinesCollection|error - Collection of JournalLine
createJournalLines
function createJournalLines(JournalLine payload, map<string|string[]> headers) returns JournalLine|errorCreate JournalLine
Parameters
- payload JournalLine - The request body
Return Type
- JournalLine|error - JournalLine created
getJournalLines
function getJournalLines(string dataAreaId, string journalBatchNumber, decimal lineNumber, map<string|string[]> headers, *GetJournalLinesQueries queries) returns JournalLine|errorGet JournalLine by key
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- lineNumber decimal - The line number key field
- queries *GetJournalLinesQueries - Queries to be sent with the request
Return Type
- JournalLine|error - JournalLine
deleteJournalLines
function deleteJournalLines(string dataAreaId, string journalBatchNumber, decimal lineNumber, DeleteJournalLinesHeaders headers) returns error?Delete JournalLine
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- lineNumber decimal - The line number key field
- headers DeleteJournalLinesHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - JournalLine deleted
updateJournalLines
function updateJournalLines(string dataAreaId, string journalBatchNumber, decimal lineNumber, JournalLine payload, UpdateJournalLinesHeaders headers) returns JournalLine|errorUpdate JournalLine
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- lineNumber decimal - The line number key field
- payload JournalLine - The request body
- headers UpdateJournalLinesHeaders (default {}) - Headers to be sent with the request
Return Type
- JournalLine|error - JournalLine updated
listJournalNames
function listJournalNames(map<string|string[]> headers, *ListJournalNamesQueries queries) returns JournalNamesCollection|errorList JournalNames
Parameters
- queries *ListJournalNamesQueries - Queries to be sent with the request
Return Type
- JournalNamesCollection|error - Collection of JournalName
createJournalNames
function createJournalNames(JournalName payload, map<string|string[]> headers) returns JournalName|errorCreate JournalName
Parameters
- payload JournalName - The request body
Return Type
- JournalName|error - JournalName created
getJournalNames
function getJournalNames(string dataAreaId, string name, map<string|string[]> headers, *GetJournalNamesQueries queries) returns JournalName|errorGet JournalName by key
Parameters
- dataAreaId string - The company data area identifier
- name string - The name key field
- queries *GetJournalNamesQueries - Queries to be sent with the request
Return Type
- JournalName|error - JournalName
deleteJournalNames
function deleteJournalNames(string dataAreaId, string name, DeleteJournalNamesHeaders headers) returns error?Delete JournalName
Parameters
- dataAreaId string - The company data area identifier
- name string - The name key field
- headers DeleteJournalNamesHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - JournalName deleted
updateJournalNames
function updateJournalNames(string dataAreaId, string name, JournalName payload, UpdateJournalNamesHeaders headers) returns JournalName|errorUpdate JournalName
Parameters
- dataAreaId string - The company data area identifier
- name string - The name key field
- payload JournalName - The request body
- headers UpdateJournalNamesHeaders (default {}) - Headers to be sent with the request
Return Type
- JournalName|error - JournalName updated
listJournalTables
function listJournalTables(map<string|string[]> headers, *ListJournalTablesQueries queries) returns JournalTablesCollection|errorList JournalTables
Parameters
- queries *ListJournalTablesQueries - Queries to be sent with the request
Return Type
- JournalTablesCollection|error - Collection of JournalTable
createJournalTables
function createJournalTables(JournalTable payload, map<string|string[]> headers) returns JournalTable|errorCreate JournalTable
Parameters
- payload JournalTable - The request body
Return Type
- JournalTable|error - JournalTable created
getJournalTables
function getJournalTables(string dataAreaId, string journalBatchNumber, map<string|string[]> headers, *GetJournalTablesQueries queries) returns JournalTable|errorGet JournalTable by key
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- queries *GetJournalTablesQueries - Queries to be sent with the request
Return Type
- JournalTable|error - JournalTable
deleteJournalTables
function deleteJournalTables(string dataAreaId, string journalBatchNumber, DeleteJournalTablesHeaders headers) returns error?Delete JournalTable
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- headers DeleteJournalTablesHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - JournalTable deleted
updateJournalTables
function updateJournalTables(string dataAreaId, string journalBatchNumber, JournalTable payload, UpdateJournalTablesHeaders headers) returns JournalTable|errorUpdate JournalTable
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- payload JournalTable - The request body
- headers UpdateJournalTablesHeaders (default {}) - Headers to be sent with the request
Return Type
- JournalTable|error - JournalTable updated
listJournalTrans
function listJournalTrans(map<string|string[]> headers, *ListJournalTransQueries queries) returns JournalTransCollection|errorList JournalTrans
Parameters
- queries *ListJournalTransQueries - Queries to be sent with the request
Return Type
- JournalTransCollection|error - Collection of JournalTrans
createJournalTrans
function createJournalTrans(JournalTrans payload, map<string|string[]> headers) returns JournalTrans|errorCreate JournalTrans
Parameters
- payload JournalTrans - The request body
Return Type
- JournalTrans|error - JournalTrans created
getJournalTrans
function getJournalTrans(string dataAreaId, decimal lineNumber, string journalId, map<string|string[]> headers, *GetJournalTransQueries queries) returns JournalTrans|errorGet JournalTrans by key
Parameters
- dataAreaId string - The company data area identifier
- lineNumber decimal - The line number key field
- journalId string - The journal id key field
- queries *GetJournalTransQueries - Queries to be sent with the request
Return Type
- JournalTrans|error - JournalTrans
deleteJournalTrans
function deleteJournalTrans(string dataAreaId, decimal lineNumber, string journalId, DeleteJournalTransHeaders headers) returns error?Delete JournalTrans
Parameters
- dataAreaId string - The company data area identifier
- lineNumber decimal - The line number key field
- journalId string - The journal id key field
- headers DeleteJournalTransHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - JournalTrans deleted
updateJournalTrans
function updateJournalTrans(string dataAreaId, decimal lineNumber, string journalId, JournalTrans payload, UpdateJournalTransHeaders headers) returns JournalTrans|errorUpdate JournalTrans
Parameters
- dataAreaId string - The company data area identifier
- lineNumber decimal - The line number key field
- journalId string - The journal id key field
- payload JournalTrans - The request body
- headers UpdateJournalTransHeaders (default {}) - Headers to be sent with the request
Return Type
- JournalTrans|error - JournalTrans updated
listLedgerJournalLines
function listLedgerJournalLines(map<string|string[]> headers, *ListLedgerJournalLinesQueries queries) returns LedgerJournalLinesCollection|errorList LedgerJournalLines
Parameters
- queries *ListLedgerJournalLinesQueries - Queries to be sent with the request
Return Type
- LedgerJournalLinesCollection|error - Collection of LedgerJournalLine
createLedgerJournalLines
function createLedgerJournalLines(LedgerJournalLine payload, map<string|string[]> headers) returns LedgerJournalLine|errorCreate LedgerJournalLine
Parameters
- payload LedgerJournalLine - The request body
Return Type
- LedgerJournalLine|error - LedgerJournalLine created
getLedgerJournalLines
function getLedgerJournalLines(string dataAreaId, string journalBatchNumber, decimal lineNumber, map<string|string[]> headers, *GetLedgerJournalLinesQueries queries) returns LedgerJournalLine|errorGet LedgerJournalLine by key
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- lineNumber decimal - The line number key field
- queries *GetLedgerJournalLinesQueries - Queries to be sent with the request
Return Type
- LedgerJournalLine|error - LedgerJournalLine
deleteLedgerJournalLines
function deleteLedgerJournalLines(string dataAreaId, string journalBatchNumber, decimal lineNumber, DeleteLedgerJournalLinesHeaders headers) returns error?Delete LedgerJournalLine
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- lineNumber decimal - The line number key field
- headers DeleteLedgerJournalLinesHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - LedgerJournalLine deleted
updateLedgerJournalLines
function updateLedgerJournalLines(string dataAreaId, string journalBatchNumber, decimal lineNumber, LedgerJournalLine payload, UpdateLedgerJournalLinesHeaders headers) returns LedgerJournalLine|errorUpdate LedgerJournalLine
Parameters
- dataAreaId string - The company data area identifier
- journalBatchNumber string - The journal batch number key field
- lineNumber decimal - The line number key field
- payload LedgerJournalLine - The request body
- headers UpdateLedgerJournalLinesHeaders (default {}) - Headers to be sent with the request
Return Type
- LedgerJournalLine|error - LedgerJournalLine updated
listLedgerTransSettlements
function listLedgerTransSettlements(map<string|string[]> headers, *ListLedgerTransSettlementsQueries queries) returns LedgerTransSettlementsCollection|errorList LedgerTransSettlements
Parameters
- queries *ListLedgerTransSettlementsQueries - Queries to be sent with the request
Return Type
- LedgerTransSettlementsCollection|error - Collection of LedgerTransSettlement
createLedgerTransSettlements
function createLedgerTransSettlements(LedgerTransSettlement payload, map<string|string[]> headers) returns LedgerTransSettlement|errorCreate LedgerTransSettlement
Parameters
- payload LedgerTransSettlement - The request body
Return Type
- LedgerTransSettlement|error - LedgerTransSettlement created
getLedgerTransSettlements
function getLedgerTransSettlements(int generalJournalAccountEntry, map<string|string[]> headers, *GetLedgerTransSettlementsQueries queries) returns LedgerTransSettlement|errorGet LedgerTransSettlement by key
Parameters
- generalJournalAccountEntry int - The general journal account entry key field
- queries *GetLedgerTransSettlementsQueries - Queries to be sent with the request
Return Type
- LedgerTransSettlement|error - LedgerTransSettlement
deleteLedgerTransSettlements
function deleteLedgerTransSettlements(int generalJournalAccountEntry, DeleteLedgerTransSettlementsHeaders headers) returns error?Delete LedgerTransSettlement
Parameters
- generalJournalAccountEntry int - The general journal account entry key field
- headers DeleteLedgerTransSettlementsHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - LedgerTransSettlement deleted
updateLedgerTransSettlements
function updateLedgerTransSettlements(int generalJournalAccountEntry, LedgerTransSettlement payload, UpdateLedgerTransSettlementsHeaders headers) returns LedgerTransSettlement|errorUpdate LedgerTransSettlement
Parameters
- generalJournalAccountEntry int - The general journal account entry key field
- payload LedgerTransSettlement - The request body
- headers UpdateLedgerTransSettlementsHeaders (default {}) - Headers to be sent with the request
Return Type
- LedgerTransSettlement|error - LedgerTransSettlement updated
listLedgerTransSettlementsV2
function listLedgerTransSettlementsV2(map<string|string[]> headers, *ListLedgerTransSettlementsV2Queries queries) returns LedgerTransSettlementsV2Collection|errorList LedgerTransSettlementsV2
Parameters
- queries *ListLedgerTransSettlementsV2Queries - Queries to be sent with the request
Return Type
- LedgerTransSettlementsV2Collection|error - Collection of LedgerTransSettlementV2
createLedgerTransSettlementsV2
function createLedgerTransSettlementsV2(LedgerTransSettlementV2 payload, map<string|string[]> headers) returns LedgerTransSettlementV2|errorCreate LedgerTransSettlementV2
Parameters
- payload LedgerTransSettlementV2 - The request body
Return Type
- LedgerTransSettlementV2|error - LedgerTransSettlementV2 created
getLedgerTransSettlementsV2
function getLedgerTransSettlementsV2(int generalJournalAccountEntry, map<string|string[]> headers, *GetLedgerTransSettlementsV2Queries queries) returns LedgerTransSettlementV2|errorGet LedgerTransSettlementV2 by key
Parameters
- generalJournalAccountEntry int - The general journal account entry key field
- queries *GetLedgerTransSettlementsV2Queries - Queries to be sent with the request
Return Type
- LedgerTransSettlementV2|error - LedgerTransSettlementV2
deleteLedgerTransSettlementsV2
function deleteLedgerTransSettlementsV2(int generalJournalAccountEntry, DeleteLedgerTransSettlementsV2Headers headers) returns error?Delete LedgerTransSettlementV2
Parameters
- generalJournalAccountEntry int - The general journal account entry key field
- headers DeleteLedgerTransSettlementsV2Headers (default {}) - Headers to be sent with the request
Return Type
- error? - LedgerTransSettlementV2 deleted
updateLedgerTransSettlementsV2
function updateLedgerTransSettlementsV2(int generalJournalAccountEntry, LedgerTransSettlementV2 payload, UpdateLedgerTransSettlementsV2Headers headers) returns LedgerTransSettlementV2|errorUpdate LedgerTransSettlementV2
Parameters
- generalJournalAccountEntry int - The general journal account entry key field
- payload LedgerTransSettlementV2 - The request body
- headers UpdateLedgerTransSettlementsV2Headers (default {}) - Headers to be sent with the request
Return Type
- LedgerTransSettlementV2|error - LedgerTransSettlementV2 updated
Records
microsoft.dynamics365.finance.journalentry: 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.journalentry: DeleteJournalLinesHeaders
Represents the Headers record for the operation: deleteJournalLines
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: DeleteJournalNamesHeaders
Represents the Headers record for the operation: deleteJournalNames
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: DeleteJournalTablesHeaders
Represents the Headers record for the operation: deleteJournalTables
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: DeleteJournalTransHeaders
Represents the Headers record for the operation: deleteJournalTrans
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: DeleteLedgerJournalLinesHeaders
Represents the Headers record for the operation: deleteLedgerJournalLines
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: DeleteLedgerTransSettlementsHeaders
Represents the Headers record for the operation: deleteLedgerTransSettlements
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: DeleteLedgerTransSettlementsV2Headers
Represents the Headers record for the operation: deleteLedgerTransSettlementsV2
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: FiscalCalendar
Fields
- quarter? FiscalQuarter -
- ledgerRecId? int -
- quarterOffset? Signed32 -
- calendarId? string -
- periodOffset? Signed32 -
- yearName? string -
- calendarRecId? int -
- ledgerGregorianDateId? string -
- yearOffset? Signed32 -
- month? FiscalPeriodMonth -
- gregorianDate? string -
- periodRecId? int -
- periodName? string -
microsoft.dynamics365.finance.journalentry: GetJournalLinesQueries
Represents the Queries record for the operation: getJournalLines
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.journalentry: GetJournalNamesQueries
Represents the Queries record for the operation: getJournalNames
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.journalentry: GetJournalTablesQueries
Represents the Queries record for the operation: getJournalTables
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.journalentry: GetJournalTransQueries
Represents the Queries record for the operation: getJournalTrans
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.journalentry: GetLedgerJournalLinesQueries
Represents the Queries record for the operation: getLedgerJournalLines
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.journalentry: GetLedgerTransSettlementsQueries
Represents the Queries record for the operation: getLedgerTransSettlements
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.journalentry: GetLedgerTransSettlementsV2Queries
Represents the Queries record for the operation: getLedgerTransSettlementsV2
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.journalentry: JournalLine
Fields
- salesTaxGroup? string -
- modelNumber? string -
- debit? decimal -
- company? string -
- description? string -
- salesTaxCode? string -
- itemSalesTaxGroup? string -
- offsetAccountType? LedgerJournalACType -
- accountDisplayValue? string -
- period? string -
- mainAccountTypeCache? record { fileContent byte[], fileName string } -
- accountType? LedgerJournalACType -
- lineNumber? decimal -
- date? string -
- voucher? string -
- deferralsId? string -
- offsetAccountDisplayValue? string -
- journalBatchNumber? string -
- dataAreaId? string -
- offsetCompany? string -
- credit? decimal -
- currency? string -
- transactionDate? string -
microsoft.dynamics365.finance.journalentry: JournalLinesCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *JournalLinesCollectionAllOf2
- value JournalLine[]
- anydata...
microsoft.dynamics365.finance.journalentry: JournalLinesCollectionAllOf2
Fields
- value? JournalLine[] -
microsoft.dynamics365.finance.journalentry: JournalName
Fields
- amountsIncludeSalesTax? NoYes -
- description? string -
- defaultCashAccount? string -
- requiresSimulationValidationIT? NoYes -
- offsetAccountType? LedgerJournalACType -
- postingDateControl? NoYes -
- isFixedOffsetAccount? NoYes -
- workflowId? string -
- name? string -
- offsetAccountDisplayValue? string -
- privateForUserGroup? string -
- dataAreaId? string -
- isApprovalActive? NoYes -
- voucherAllocationAtPosting? NoYes -
- currency? string -
- generatePaymentsBeforePosting? NoYes -
- endBalanceControl? NoYes -
- isWorkflowApprovalActive? NoYes -
- postingLayer? CurrentOperationsTax -
- hideSalesTaxFieldsInJournalEntryForms? NoYes -
- prepaymentJournalVoucher? NoYes -
- postingLineLimit? Signed32 -
- isFixedExchangeRate? NoYes -
- newVoucher? NewVoucher -
- voucherSeriesCode? string -
- feesPosting? LedgerJournalFeePosting -
- defaultFinancialDimensionDisplayValue? string -
- documentNumber? string -
- overrideSalesTax? NoYes -
- allowOnlyPositiveDebitsAndCredits? NoYes -
- principleOfDateInitialization? LedgerJournalDateInitTypeRU -
- 'type? LedgerJournalType -
- voucherSeriesCompanyId? string -
- detailLevel? DetailSummary -
- approvalUserGroup? string -
- deleteLinesAfterPosting? NoYes -
microsoft.dynamics365.finance.journalentry: JournalNamesCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *JournalNamesCollectionAllOf2
- value JournalName[]
- anydata...
microsoft.dynamics365.finance.journalentry: JournalNamesCollectionAllOf2
Fields
- value? JournalName[] -
microsoft.dynamics365.finance.journalentry: JournalTable
Fields
- status? string -
- description? string -
- setVoucherDateTo? ProjJournalVoucherDateChange -
- numberSequenceCode? string -
- postedUserId? string -
- projectID? string -
- journalName? string -
- selectionBy? JournalVoucherDraw -
- posted? NoYes -
- journalBatchNumber? string -
- projLineProperty? string -
- dataAreaId? string -
- txt? string -
- newVoucherBy? ProjJournalVoucherChange -
- resourceId? string -
- projectDate? string -
- journalType? ProjJournalType -
- deleteLinesAfterPosting? NoYes -
- projCategory? string -
- detailSummary? DetailSummary -
- approve? string -
- resourceCompanyId? string -
microsoft.dynamics365.finance.journalentry: JournalTablesCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *JournalTablesCollectionAllOf2
- value JournalTable[]
- anydata...
microsoft.dynamics365.finance.journalentry: JournalTablesCollectionAllOf2
Fields
- value? JournalTable[] -
microsoft.dynamics365.finance.journalentry: JournalTrans
Fields
- category? string -
- description? string -
- itemSalesTaxGroup? string -
- endTime? Signed32 -
- hours? decimal -
- projectID? string -
- lineProperty? string -
- typeOfOperation? VendorOperationTypeMX -
- cost? string -
- lineNumber? decimal -
- currencyId? string -
- transactionID? string -
- reversingDate? string -
- startDate? string -
- dataAreaId? string -
- salesPrice? decimal -
- activityNumber? string -
- voucherDate? string -
- dimensionDisplayValue? string -
- percentageComplete? decimal -
- projectDate? string -
- costPrice? decimal -
- priceGroup? string -
- salesTaxGroup? string -
- resourceCategoryId? string -
- reversingEntry? NoYes -
- startTime? Signed32 -
- voucher? string -
- journalId? string -
- resourceId? string -
- pSAWrkCtrId? string -
- resourceCompanyId? string -
microsoft.dynamics365.finance.journalentry: JournalTransCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *JournalTransCollectionAllOf2
- value JournalTrans[]
- anydata...
microsoft.dynamics365.finance.journalentry: JournalTransCollectionAllOf2
Fields
- value? JournalTrans[] -
microsoft.dynamics365.finance.journalentry: Ledger
Fields
- ledgerRecId? int -
- description? string -
- isBudgetControlEnabled? NoYes -
- accountStructureName18? string -
- accountStructureName19? string -
- accountStructureName16? string -
- accountStructureName17? string -
- accountStructureName14? string -
- accountStructureName15? string -
- mainAccountIdFinancialLoss? string -
- accountStructureName12? string -
- exchangeRateType? string -
- accountStructureName13? string -
- mainAccountIdUnrealizedLoss? string -
- accountStructureName10? string -
- name? string -
- accountStructureName11? string -
- reportingCurrencyExchangeRateType? string -
- legalEntityId? string -
- accountingCurrency? string -
- mainAccountIdUnrealizedGain? string -
- accountStructureName1? string -
- accountStructureName2? string -
- accountStructureName3? string -
- accountStructureName4? string -
- accountStructureName5? string -
- accountStructureName6? string -
- accountStructureName7? string -
- chartOfAccountsRecId? int -
- accountStructureName8? string -
- accountStructureName9? string -
- mainAccountIdFinancialGain? string -
- mainAccountIdRealizedLoss? string -
- balancingFinancialDimension? string -
- accountStructureName20? string -
- fiscalCalendar? string -
- chartOfAccounts? string -
- mainAccountIdRealizedGain? string -
- budgetExchangeRateType? string -
- reportingCurrency? string -
microsoft.dynamics365.finance.journalentry: LedgerJournalLine
Fields
- listFieldCode03? string -
- listFieldCode04? string -
- listFieldCode05? string -
- invoice? string -
- listFieldCode06? string -
- cPDCustPostingProfile? string -
- listFieldCode01? string -
- listFieldCode02? string -
- withholdAccruedBaseMST? decimal -
- amountMST? decimal -
- creditAmount? decimal -
- taxExemptNumber? string -
- document? string -
- ledgerJournalType? LedgerJournalACType -
- currencyCode? string -
- lineNum? decimal -
- withholdingBaseMST? decimal -
- bankChequeNum? string -
- exchRate? decimal -
- cPDSource? LTMCheckSource -
- cAICAE? string -
- listFieldCode07? string -
- listFieldCode08? string -
- listFieldCode09? string -
- preserveNum? NoYes -
- bussinessName? string -
- isConcept? NoYes -
- cashDiscountDate? string -
- bankAccountNum? string -
- cashDiscountAmount? decimal -
- paymentReference? string -
- stateId? string -
- listField09? string -
- listField08? string -
- exchRateTypeAlt? decimal -
- listField05? string -
- listField04? string -
- lineNumber? decimal -
- listField07? string -
- listField06? string -
- postingProfile? string -
- amountCUR? decimal -
- listField10? string -
- isWithholdingCalculationEnabled? NoYes -
- salesPointPrefix? string -
- itemWithholdingTaxGroupCode? string -
- cAICAEDueDate? string -
- countryDocTypeId? string -
- listFieldCode10? string -
- treasuryEnter? string -
- accountDisplayValue? string -
- origExchRate? decimal -
- text? string -
- listField01? string -
- offsetCompany? string -
- completeDocumentNum? string -
- listField03? string -
- stateDocNum? string -
- listField02? string -
- discountPercentage? decimal -
- transDate? string -
- chineseVoucher? string -
- offsetText? string -
- journalNum? string -
- ledgerJournalTransId? int -
- documentDate? string -
- beneficiary? string -
- reverseDate? string -
- company? string -
- salesTaxCode? string -
- salesPointId? string -
- offsetAccountType? LedgerJournalACType -
- lTMDocumentDate? string -
- exchRateSecond? decimal -
- reportingCurrencyExchRate? decimal -
- cPDAction? LTMCollectPaymDocAction -
- dataAreaId? string -
- finTagDisplayValue? string -
- countryDocNum? string -
- paymTermId? string -
- treasuryActual? string -
- salesTaxGroup? string -
- withholdingEffectiveRate? decimal -
- reportingCurrencyExchRateSecondary? decimal -
- cashDiscount? string -
- isCollectPaymDoc? NoYes -
- journalBatchNumber? string -
- cPDTRXHistoryID? int -
- paymentMethod? string -
- offsetFinTagDisplayValue? string -
- holderAccountNum? string -
- itemSalesTaxGroup? string -
- offsetDefaultDimensionDisplayValue? string -
- withholdingSetID? string -
- withholdAccruedAmountMST? decimal -
- offsetAccountDisplayValue? string -
- cPDTRXOpenID? int -
- accountNum? string -
- reverseEntry? NoYes -
- documentNum? string -
- documentClassificationId? string -
- dueDateAW? string -
- dueDate? string -
- stateDocTypeId? string -
- paymentId? string -
- quantity? decimal -
- shiftID? string -
- overrideSalesTax? NoYes -
- accountType? LedgerJournalACType -
- chineseVoucherType? string -
- voucher? string -
- controlCode? string -
- concept2? string -
- concept3? string -
- concept1? string -
- countryRegionId? string -
- defaultDimensionDisplayValue? string -
- taxPayerTypeId? string -
- bankGroupId? string -
- debitAmount? decimal -
microsoft.dynamics365.finance.journalentry: LedgerJournalLinesCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *LedgerJournalLinesCollectionAllOf2
- value LedgerJournalLine[]
- anydata...
microsoft.dynamics365.finance.journalentry: LedgerJournalLinesCollectionAllOf2
Fields
- value? LedgerJournalLine[] -
microsoft.dynamics365.finance.journalentry: LedgerTransSettlement
Fields
- generalJournalAccountEntry? int -
- ledger? int -
- mainAccount? int -
- quantity? decimal -
- dateProcessed? string -
- text? string -
- transactionCurrencyAmount? decimal -
- accountingDate? string -
- documentNumber? string -
- transactionCurrencyCode? string -
- postingType? LedgerPostingType -
- automationRule? string -
- accountingCurrencyAmount? decimal -
- ledgerAccountDisplayValue? string -
- reportingCurrencyAmount? decimal -
- settleId? string -
- journalNumber? string -
- postingLayer? CurrentOperationsTax -
- subledgerVoucher? string -
- originalTransactionDate? string -
- settleDate? string -
- marked? string -
- documentDate? string -
microsoft.dynamics365.finance.journalentry: LedgerTransSettlementsCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *LedgerTransSettlementsCollectionAllOf2
- value LedgerTransSettlement[]
- anydata...
microsoft.dynamics365.finance.journalentry: LedgerTransSettlementsCollectionAllOf2
Fields
- value? LedgerTransSettlement[] -
microsoft.dynamics365.finance.journalentry: LedgerTransSettlementsV2Collection
Fields
- Fields Included from *ODataCollection
- Fields Included from *LedgerTransSettlementsV2CollectionAllOf2
- value LedgerTransSettlementV2[]
- anydata...
microsoft.dynamics365.finance.journalentry: LedgerTransSettlementsV2CollectionAllOf2
Fields
- value? LedgerTransSettlementV2[] -
microsoft.dynamics365.finance.journalentry: LedgerTransSettlementV2
Fields
- generalJournalAccountEntry? int -
- dateProcessed? string -
- accountingDate? string -
- openAccountingCurrencyAmount? decimal -
- reason? string -
- accountingCurrencyAmount? decimal -
- reportingCurrencyAmount? decimal -
- postingLayer? CurrentOperationsTax -
- settleDate? string -
- settleStatus? LedgerSettlementStatus -
- ledger? int -
- mainAccount? int -
- quantity? decimal -
- text? string -
- transactionCurrencyAmount? decimal -
- documentNumber? string -
- transactionCurrencyCode? string -
- postingType? LedgerPostingType -
- ledgerAccountDisplayValue? string -
- openTransactionCurrencyAmount? decimal -
- settleId? string -
- journalNumber? string -
- subledgerVoucher? string -
- originalTransactionDate? string -
- documentDate? string -
- marked? NoYes -
- openReportingCurrencyAmount? decimal -
microsoft.dynamics365.finance.journalentry: ListJournalLinesQueries
Represents the Queries record for the operation: listJournalLines
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.journalentry: ListJournalNamesQueries
Represents the Queries record for the operation: listJournalNames
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.journalentry: ListJournalTablesQueries
Represents the Queries record for the operation: listJournalTables
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.journalentry: ListJournalTransQueries
Represents the Queries record for the operation: listJournalTrans
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.journalentry: ListLedgerJournalLinesQueries
Represents the Queries record for the operation: listLedgerJournalLines
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.journalentry: ListLedgerTransSettlementsQueries
Represents the Queries record for the operation: listLedgerTransSettlements
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.journalentry: ListLedgerTransSettlementsV2Queries
Represents the Queries record for the operation: listLedgerTransSettlementsV2
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.journalentry: MainAccount
Fields
- natureCodeBR? string -
- sRUCode? string -
- user? string -
- validatePostingType? FieldControl -
- inflationAdjustment? NoYes -
- mainAccountType? DimensionLedgerAccountType -
- closing? LedgerClosing -
- validateCurrency? FieldControl -
- debitCreditDefault? DebCredProposal -
- name? string -
- offsetAccountDisplayValue? string -
- exchangeAdjustmentRateType? string -
- foreignCurrencyRevaluation? NoYes -
- defaultConsolidationAccount? string -
- openingAccountId? string -
- parentMainAccountId? string -
- financialReportingCurrencyTranslationType? FinancialReportingTranslationType -
- validateUser? FieldControl -
- reportingExchangeAdjustmentRateType? string -
- mandatoryPaymentReference? NoYes -
- financialReportingExchangeRateType? string -
- defaultCurrency? string -
- monetary? NoYes -
- debitCreditRequirement? DebCredProposal -
- adjustmentMethod? AdjustmentMethodMX -
- chartOfAccountsRecId? int -
- activeTo? string -
- reportingAccountType? DimensionLedgerAccountReportingType -
- isSuspended? NoYes -
- mainAccountId? string -
- repomoType? RepomoTypeMX -
- activeFrom? string -
- postingType? LedgerPostingType -
- mainAccountCategory? string -
- chartOfAccounts? string -
- mainAccountRecId? int -
- accountCategoryDescription? string -
- balanceControl? DebCredProposal -
- doNotAllowManualEntry? NoYes -
microsoft.dynamics365.finance.journalentry: 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.journalentry: ODataCollection
Fields
- odataNextLink? string -
- odataCount? int -
- odataContext? string -
microsoft.dynamics365.finance.journalentry: UpdateJournalLinesHeaders
Represents the Headers record for the operation: updateJournalLines
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: UpdateJournalNamesHeaders
Represents the Headers record for the operation: updateJournalNames
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: UpdateJournalTablesHeaders
Represents the Headers record for the operation: updateJournalTables
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: UpdateJournalTransHeaders
Represents the Headers record for the operation: updateJournalTrans
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: UpdateLedgerJournalLinesHeaders
Represents the Headers record for the operation: updateLedgerJournalLines
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: UpdateLedgerTransSettlementsHeaders
Represents the Headers record for the operation: updateLedgerTransSettlements
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.journalentry: UpdateLedgerTransSettlementsV2Headers
Represents the Headers record for the operation: updateLedgerTransSettlementsV2
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
Union types
microsoft.dynamics365.finance.journalentry: LedgerJournalACType
LedgerJournalACType
microsoft.dynamics365.finance.journalentry: ProjJournalVoucherDateChange
ProjJournalVoucherDateChange
microsoft.dynamics365.finance.journalentry: CurrentOperationsTax
CurrentOperationsTax
microsoft.dynamics365.finance.journalentry: JournalVoucherDraw
JournalVoucherDraw
microsoft.dynamics365.finance.journalentry: LedgerClosing
LedgerClosing
microsoft.dynamics365.finance.journalentry: LedgerJournalFeePosting
LedgerJournalFeePosting
microsoft.dynamics365.finance.journalentry: LTMCheckSource
LTMCheckSource
microsoft.dynamics365.finance.journalentry: LedgerPostingType
LedgerPostingType
microsoft.dynamics365.finance.journalentry: FieldControl
FieldControl
microsoft.dynamics365.finance.journalentry: NewVoucher
NewVoucher
microsoft.dynamics365.finance.journalentry: AdjustmentMethodMX
AdjustmentMethodMX
microsoft.dynamics365.finance.journalentry: DetailSummary
DetailSummary
microsoft.dynamics365.finance.journalentry: DimensionLedgerAccountType
DimensionLedgerAccountType
microsoft.dynamics365.finance.journalentry: RepomoTypeMX
RepomoTypeMX
microsoft.dynamics365.finance.journalentry: LedgerJournalType
LedgerJournalType
microsoft.dynamics365.finance.journalentry: LedgerSettlementStatus
LedgerSettlementStatus
microsoft.dynamics365.finance.journalentry: FiscalPeriodMonth
FiscalPeriodMonth
microsoft.dynamics365.finance.journalentry: DimensionLedgerAccountReportingType
DimensionLedgerAccountReportingType
microsoft.dynamics365.finance.journalentry: LTMCollectPaymDocAction
LTMCollectPaymDocAction
microsoft.dynamics365.finance.journalentry: DebCredProposal
DebCredProposal
microsoft.dynamics365.finance.journalentry: VendorOperationTypeMX
VendorOperationTypeMX
microsoft.dynamics365.finance.journalentry: LedgerJournalDateInitTypeRU
LedgerJournalDateInitTypeRU
microsoft.dynamics365.finance.journalentry: ProjJournalVoucherChange
ProjJournalVoucherChange
microsoft.dynamics365.finance.journalentry: FinancialReportingTranslationType
FinancialReportingTranslationType
microsoft.dynamics365.finance.journalentry: NoYes
NoYes
microsoft.dynamics365.finance.journalentry: FiscalQuarter
FiscalQuarter
microsoft.dynamics365.finance.journalentry: ProjJournalType
ProjJournalType
Import
import ballerinax/microsoft.dynamics365.finance.journalentry;Other versions
0.8.0
Metadata
Released date: 2 days 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 Journal Entry
Area/Finance & Accounting
Vendor/Microsoft
Dynamics365
Finance
ERP
Type/Connector
Journal
Ledger
Entry
Transaction
Contributors