ProtectedaccountingThe accounting provider this action is designed for (e.g., 'QuickBooks', 'NetSuite', etc.) Can be 'Generic' for provider-agnostic actions
ProtectedapiQuickBooks API version
ProtectedintegrationThe integration name to look up in the Integration entity
ProtectedminorQuickBooks minor version for API compatibility
ProtectedbuildHelper to build consistent error messages for accounting operations
OptionalsystemError: anyProtectedformatStandard date format for accounting systems (ISO 8601)
ProtectedformatFormats currency values consistently
ProtectedformatFormats date for QuickBooks API
ProtectedgetGets the base URL for API calls from the integration
Optionalprovider: IMetadataProviderProtectedgetCommon 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
ProtectedgetGets the appropriate QuickBooks API URL based on configuration
ProtectedInternalProtectedmakeProtectedmapMaps QuickBooks account types to standard accounting categories
ProtectedparseConverts QuickBooks date format to standard ISO 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 account balances (trial balance) from QuickBooks Online