feat(integration): add comprehensive FinaBill sync API and enhance payment processing - #50
Merged
Conversation
Updated version across all versioning targets: - package.json (app version) - package-lock.json (root package version entries) - src/lib/version.ts (APP_VERSION constant) - CHANGELOG.md (added [1.2.0] release section)
…yment processing - Added FinaBill integration endpoints for managing accounts, bills, suppliers, and expenses - Implemented listPaymentAccounts and listAccountTransactions for operational money accounts with pagination - Created upsertAccount, upsertBill, and upsertSupplier mutations with robust externalId matching and fallback logic - Enabled listBills and listExpenses queries with support for updatedSince filter and external linkage - Extended bill payment logic to include expense creation and return expenseId - Enhanced suppliers and accounts upsert to stamp externalSystem as "finabill" and support name-based matching - Introduced detailed tests for deep sync features covering accounts, bills, suppliers, and expenses synchronization - Updated API scopes: added bills:read, bills:write, expenses:read, accounts:write with proper permission enforcement - Modified bills and expenses APIs to include externalId and externalSystem linkage in responses and inputs - Added linkage of bill externalId to expenses triggered on creation to improve integration data consistency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Test Configuration:
Checklist:
Screenshots (if appropriate):
Additional context:
Add any other context about the pull request here.