ProtectedaccountingThe accounting provider this action is designed for (e.g., 'QuickBooks', 'NetSuite', etc.) Can be 'Generic' for provider-agnostic actions
ProtectedapiBusiness Central API version
ProtectedintegrationThe integration name to look up in the Integration entity
ProtectedparamsCurrent action parameters (set by the framework)
Description of the action
Define the parameters for this action
ProtectedbuildHelper to build consistent error messages for accounting operations
OptionalsystemError: anyProtectedbuildHelper to build OData filter expressions
ProtectedformatStandard date format for accounting systems (ISO 8601)
ProtectedformatFormats date for Business Central API (ISO 8601)
ProtectedformatFormats currency values consistently
ProtectedgetGets the base URL for API calls from the integration
Optionalprovider: IMetadataProviderProtectedgetGets the appropriate Business Central API URL
ProtectedgetCommon accounting parameters that many actions will need
ProtectedgetGets the company integration record for the specified company and accounting system
ProtectedgetGets credentials from environment variables Format: BIZAPPS_{PROVIDER}{COMPANY_ID}{CREDENTIAL_TYPE} Example: BIZAPPS_QUICKBOOKS_12345_ACCESS_TOKEN
ProtectedgetGets OAuth tokens - first tries environment variables, then falls back to database
ProtectedgetHelper to get a parameter value from the params array
ProtectedInternalProtectedmakeProtectedmapMaps Business Central account category to standard type
ProtectedmapMaps Business Central account types to standard categories
ProtectedparseParses Business Central date format
ProtectedqueryExecutes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
ProtectedvalidateValidates common accounting data formats
ProtectedvalidateValidates journal entry balance (debits must equal credits)
Action to retrieve sales invoices from Microsoft Dynamics 365 Business Central