Accounting & Tax
Accounting & Tax
Section titled “Accounting & Tax”Quellverzeichnis: modules/accounting-tax/
Finanzbuchhaltung, Buchungssätze, Kontenplan, Stornos sowie Steuer- und Meldewesen (USt, Intrastat, Zoll).
Services
Section titled “Services”Geschäftslogik des Moduls (src/services/):
AccountNotFoundErrorAccountNumberConflictErrorAccountServiceAssetInventoryNotFoundErrorAssetInventoryServiceAssetInventoryTransitionErrorBillingConnectorDeliveryErrorBillingConnectorServiceBillingConnectorValidationErrorCashCountNotFoundErrorCashCountServiceCashCountValidationErrorCashRegisterNotFoundErrorCashRegisterServiceCashRegisterValidationErrorCashTransactionNotFoundErrorChartNotFoundErrorCustomsDeclarationNotFoundErrorCustomsDeclarationServiceCustomsDeclarationValidationErrorEmptyInvoiceErrorEmptyJournalEntryErrorFixedAssetNotFoundErrorFixedAssetServiceFixedAssetValidationErrorGoBDAuditExportNotFoundErrorGoBDAuditExportServiceGoBDAuditExportValidationErrorIclCaseNotFoundErrorIclCaseServiceIclCaseValidationErrorIclValidationErrorIntercompanyTransactionNotFoundErrorIntercompanyTransactionServiceIntercompanyTransactionValidationErrorIntrastatReportNotFoundErrorIntrastatReportServiceIntrastatReportValidationErrorInvoiceAlreadyCreditedErrorInvoiceNotFoundError- … und 29 weitere
Repositories
Section titled “Repositories”Datenzugriffs-Ports (src/repositories/):
AccountRepositoryAssetInventoryRepositoryCashCountRepositoryCashRegisterRepositoryCashTransactionRepositoryChartOfAccountsRepositoryCustomsDeclarationRepositoryFixedAssetRepositoryGoBDAuditExportRepositoryIclCaseRepositoryInMemoryAccountRepositoryInMemoryAssetInventoryRepositoryInMemoryCashCountRepositoryInMemoryCashRegisterRepositoryInMemoryCashTransactionRepositoryInMemoryChartOfAccountsRepositoryInMemoryCustomsDeclarationRepositoryInMemoryFixedAssetRepositoryInMemoryGoBDAuditExportRepositoryInMemoryIclCaseRepositoryInMemoryIntercompanyTransactionRepositoryInMemoryIntrastatReportRepositoryInMemoryInvoiceRepositoryInMemoryJournalEntryRepositoryInMemoryMarginSchemeCaseRepositoryInMemoryPaymentRepositoryInMemoryReserveRepositoryInMemoryReverseChargeCaseRepositoryInMemoryTaxCaseRepositoryInMemoryTaxFreeExportRepositoryInMemoryViesVerificationRepositoryIntercompanyTransactionRepositoryIntrastatReportRepositoryInvoiceRepositoryJournalEntryRepositoryMarginSchemeCaseRepositoryPaymentRepositoryReserveRepositoryReverseChargeCaseRepositoryTaxCaseRepository- … und 2 weitere
Domain Events
Section titled “Domain Events”Vom Modul emittierte Ereignisse (src/events.ts):
EventHandlerassetInventoryConfirmedassetInventoryCreatedassetInventoryReconciledassetInventoryStatusChangedbankStatementImportedcashCountApprovedcashCountCreatedcashCountReconciledcashCountStatusChangedcashRegisterClosedcashRegisterCreatedcashRegisterReopenedcashRegisterStatusChangedcashTransactionRecordedcustomsDeclarationAcceptedcustomsDeclarationCancelledcustomsDeclarationCompletedcustomsDeclarationCreatedcustomsDeclarationRejectedcustomsDeclarationStatusChangedcustomsDeclarationSubmitteddatevExportCompletedeInvoiceSubmittedfixedAssetCancelledfixedAssetCreatedfixedAssetDepreciationCalculatedfixedAssetDisposedfixedAssetPutInServicefixedAssetRetiredfixedAssetStatusChangedgobdAuditExportCancelledgobdAuditExportCompletedgobdAuditExportCreatedgobdAuditExportGeneratedgobdAuditExportStatusChangedgobdAuditExportVerifiediclCaseCancellediclCaseCompletediclCaseCreated- … und 70 weitere
API-Endpunkte
Section titled “API-Endpunkte”HTTP-Endpunkte unter api/routes/accounting/ — Details in der API-Referenz.
| Methode | Pfad | Datei |
|---|---|---|
GET |
/v1/accounting/asset-inventories |
asset-inventories.ts |
POST |
/v1/accounting/asset-inventories |
asset-inventories.ts |
GET |
/v1/accounting/asset-inventories/:id |
asset-inventories.ts |
POST |
/v1/accounting/asset-inventories/:id/confirm |
asset-inventories.ts |
POST |
/v1/accounting/asset-inventories/:id/reconcile |
asset-inventories.ts |
GET |
/v1/accounting/cash-counts |
cash-counts.ts |
POST |
/v1/accounting/cash-counts |
cash-counts.ts |
GET |
/v1/accounting/cash-counts/:id |
cash-counts.ts |
POST |
/v1/accounting/cash-counts/:id/approve |
cash-counts.ts |
POST |
/v1/accounting/cash-counts/:id/reconcile |
cash-counts.ts |
GET |
/v1/accounting/cash-registers |
cash-registers.ts |
POST |
/v1/accounting/cash-registers |
cash-registers.ts |
GET |
/v1/accounting/cash-registers/:id |
cash-registers.ts |
GET |
/v1/accounting/cash-registers/:id/balance |
cash-registers.ts |
POST |
/v1/accounting/cash-registers/:id/close |
cash-registers.ts |
POST |
/v1/accounting/cash-registers/:id/reopen |
cash-registers.ts |
GET |
/v1/accounting/cash-registers/:id/transactions |
cash-registers.ts |
POST |
/v1/accounting/cash-registers/:id/transactions |
cash-registers.ts |
GET |
/v1/accounting/cash-transactions |
cash-registers.ts |
GET |
/v1/accounting/cash-transactions/:id |
cash-registers.ts |
GET |
/v1/accounting/customs-declarations |
customs-declarations.ts |
POST |
/v1/accounting/customs-declarations |
customs-declarations.ts |
GET |
/v1/accounting/customs-declarations/:id |
customs-declarations.ts |
POST |
/v1/accounting/customs-declarations/:id/accept |
customs-declarations.ts |
POST |
/v1/accounting/customs-declarations/:id/cancel |
customs-declarations.ts |
POST |
/v1/accounting/customs-declarations/:id/complete |
customs-declarations.ts |
POST |
/v1/accounting/customs-declarations/:id/reject |
customs-declarations.ts |
POST |
/v1/accounting/customs-declarations/:id/submit |
customs-declarations.ts |
GET |
/v1/accounting/fixed-assets |
fixed-assets.ts |
POST |
/v1/accounting/fixed-assets |
fixed-assets.ts |
GET |
/v1/accounting/fixed-assets/:id |
fixed-assets.ts |
POST |
/v1/accounting/fixed-assets/:id/cancel |
fixed-assets.ts |
POST |
/v1/accounting/fixed-assets/:id/depreciate |
fixed-assets.ts |
POST |
/v1/accounting/fixed-assets/:id/dispose |
fixed-assets.ts |
POST |
/v1/accounting/fixed-assets/:id/put-in-service |
fixed-assets.ts |
POST |
/v1/accounting/fixed-assets/:id/retire |
fixed-assets.ts |
GET |
/v1/accounting/gobd-audit-exports |
gobd-audit-exports.ts |
POST |
/v1/accounting/gobd-audit-exports |
gobd-audit-exports.ts |
GET |
/v1/accounting/gobd-audit-exports/:id |
gobd-audit-exports.ts |
POST |
/v1/accounting/gobd-audit-exports/:id/cancel |
gobd-audit-exports.ts |
POST |
/v1/accounting/gobd-audit-exports/:id/complete |
gobd-audit-exports.ts |
POST |
/v1/accounting/gobd-audit-exports/:id/generate |
gobd-audit-exports.ts |
POST |
/v1/accounting/gobd-audit-exports/:id/verify |
gobd-audit-exports.ts |
GET |
/v1/accounting/icl-cases |
icl-cases.ts |
POST |
/v1/accounting/icl-cases |
icl-cases.ts |
GET |
/v1/accounting/icl-cases/:id |
icl-cases.ts |
POST |
/v1/accounting/icl-cases/:id/cancel |
icl-cases.ts |
POST |
/v1/accounting/icl-cases/:id/complete |
icl-cases.ts |
POST |
/v1/accounting/icl-cases/:id/reject |
icl-cases.ts |
POST |
/v1/accounting/icl-cases/:id/submit |
icl-cases.ts |
POST |
/v1/accounting/icl-cases/:id/validate |
icl-cases.ts |
GET |
/v1/accounting/intercompany-transactions |
intercompany-transactions.ts |
POST |
/v1/accounting/intercompany-transactions |
intercompany-transactions.ts |
GET |
/v1/accounting/intercompany-transactions/:id |
intercompany-transactions.ts |
POST |
/v1/accounting/intercompany-transactions/:id/cancel |
intercompany-transactions.ts |
POST |
/v1/accounting/intercompany-transactions/:id/post |
intercompany-transactions.ts |
POST |
/v1/accounting/intercompany-transactions/:id/reconcile |
intercompany-transactions.ts |
POST |
/v1/accounting/intercompany-transactions/:id/validate |
intercompany-transactions.ts |
GET |
/v1/accounting/intrastat-reports |
intrastat-reports.ts |
POST |
/v1/accounting/intrastat-reports |
intrastat-reports.ts |
GET |
/v1/accounting/intrastat-reports/:id |
intrastat-reports.ts |
POST |
/v1/accounting/intrastat-reports/:id/accept |
intrastat-reports.ts |
POST |
/v1/accounting/intrastat-reports/:id/cancel |
intrastat-reports.ts |
POST |
/v1/accounting/intrastat-reports/:id/lines |
intrastat-reports.ts |
POST |
/v1/accounting/intrastat-reports/:id/reject |
intrastat-reports.ts |
POST |
/v1/accounting/intrastat-reports/:id/submit |
intrastat-reports.ts |
GET |
/v1/accounting/margin-scheme-cases |
margin-scheme-cases.ts |
POST |
/v1/accounting/margin-scheme-cases |
margin-scheme-cases.ts |
GET |
/v1/accounting/margin-scheme-cases/:id |
margin-scheme-cases.ts |
POST |
/v1/accounting/margin-scheme-cases/:id/calculate |
margin-scheme-cases.ts |
POST |
/v1/accounting/margin-scheme-cases/:id/cancel |
margin-scheme-cases.ts |
POST |
/v1/accounting/margin-scheme-cases/:id/complete |
margin-scheme-cases.ts |
POST |
/v1/accounting/margin-scheme-cases/:id/submit |
margin-scheme-cases.ts |
GET |
/v1/accounting/reverse-charge-cases |
reverse-charge-cases.ts |
POST |
/v1/accounting/reverse-charge-cases |
reverse-charge-cases.ts |
GET |
/v1/accounting/reverse-charge-cases/:id |
reverse-charge-cases.ts |
POST |
/v1/accounting/reverse-charge-cases/:id/cancel |
reverse-charge-cases.ts |
POST |
/v1/accounting/reverse-charge-cases/:id/complete |
reverse-charge-cases.ts |
POST |
/v1/accounting/reverse-charge-cases/:id/reject |
reverse-charge-cases.ts |
POST |
/v1/accounting/reverse-charge-cases/:id/submit |
reverse-charge-cases.ts |
POST |
/v1/accounting/reverse-charge-cases/:id/validate |
reverse-charge-cases.ts |
GET |
/v1/accounting/tax-free-exports |
tax-free-exports.ts |
POST |
/v1/accounting/tax-free-exports |
tax-free-exports.ts |
GET |
/v1/accounting/tax-free-exports/:id |
tax-free-exports.ts |
POST |
/v1/accounting/tax-free-exports/:id/approve |
tax-free-exports.ts |
POST |
/v1/accounting/tax-free-exports/:id/cancel |
tax-free-exports.ts |
POST |
/v1/accounting/tax-free-exports/:id/complete |
tax-free-exports.ts |
POST |
/v1/accounting/tax-free-exports/:id/reject |
tax-free-exports.ts |
POST |
/v1/accounting/tax-free-exports/:id/submit |
tax-free-exports.ts |
GET |
/v1/accounting/vies-verifications |
vies-verifications.ts |
POST |
/v1/accounting/vies-verifications |
vies-verifications.ts |
GET |
/v1/accounting/vies-verifications/:id |
vies-verifications.ts |
POST |
/v1/accounting/vies-verifications/:id/fail |
vies-verifications.ts |
POST |
/v1/accounting/vies-verifications/:id/resolve |
vies-verifications.ts |
GET |
/v1/accounts |
accounts.ts |
POST |
/v1/accounts |
accounts.ts |
GET |
/v1/accounts/:accountNumber |
accounts.ts |
PATCH |
/v1/accounts/:accountNumber |
accounts.ts |
GET |
/v1/accounts/:accountNumber/balance |
accounts.ts |
GET |
/v1/charts |
accounts.ts |
POST |
/v1/charts |
accounts.ts |
POST |
/v1/exports/datev |
exports.ts |
POST |
/v1/exports/sage |
exports.ts |
GET |
/v1/invoices |
invoices.ts |
POST |
/v1/invoices |
invoices.ts |
GET |
/v1/invoices/:invoiceId |
invoices.ts |
DELETE |
/v1/invoices/:invoiceId |
invoices.ts |
POST |
/v1/invoices/:invoiceId/credit |
invoices.ts |
GET |
/v1/invoices/:invoiceId/e-invoice-xml |
invoices.ts |
POST |
/v1/invoices/:invoiceId/issue |
invoices.ts |
POST |
/v1/invoices/:invoiceId/send |
invoices.ts |
GET |
/v1/journal-entries |
journal-entries.ts |
POST |
/v1/journal-entries |
journal-entries.ts |
GET |
/v1/journal-entries/:entryId |
journal-entries.ts |
DELETE |
/v1/journal-entries/:entryId |
journal-entries.ts |
POST |
/v1/journal-entries/:entryId/post |
journal-entries.ts |
POST |
/v1/journal-entries/:entryId/reverse |
journal-entries.ts |
GET |
/v1/payments |
payments.ts |
POST |
/v1/payments |
payments.ts |
GET |
/v1/payments/:paymentId |
payments.ts |
POST |
/v1/payments/:paymentId/clear |
payments.ts |
POST |
/v1/payments/:paymentId/reverse |
payments.ts |
POST |
/v1/payments/reconcile |
payments.ts |
GET |
/v1/reports/balance |
reports.ts |
GET |
/v1/reports/ec-sales-list |
reports.ts |
GET |
/v1/reports/pl |
reports.ts |
GET |
/v1/reports/vat-return |
reports.ts |
GET |
/v1/reserves |
reserves.ts |
POST |
/v1/reserves |
reserves.ts |
GET |
/v1/reserves/:reserveId |
reserves.ts |
DELETE |
/v1/reserves/:reserveId |
reserves.ts |
POST |
/v1/reserves/:reserveId/accrue |
reserves.ts |
PATCH |
/v1/reserves/:reserveId/adjust |
reserves.ts |
POST |
/v1/reserves/:reserveId/draw |
reserves.ts |
POST |
/v1/reserves/:reserveId/release |
reserves.ts |
POST |
/v1/reserves/:reserveId/reverse |
reserves.ts |
GET |
/v1/reserves/summary |
reserves.ts |
GET |
/v1/tax-cases |
tax-cases.ts |
POST |
/v1/tax-cases |
tax-cases.ts |
GET |
/v1/tax-cases/:taxCaseId |
tax-cases.ts |
POST |
/v1/tax-cases/:taxCaseId/validate-icl |
tax-cases.ts |
Public API
Section titled “Public API”Über den Modul-Index (src/index.ts) exportierte Symbole — die einzige erlaubte Zugriffsart von außen:
// Account enums AccountType// Aggregate Roots TaxCase// Asset Inventory (M6.E1) AssetInventoryStatus// Asset Inventory (M6.E1) assetInventoryCreated// Billing Connectors (ERG-13) eInvoiceSubmitted// Cash Register / Cash Count (M6.E2) canTransitionCashRegister// Cash Register / Cash Transaction / Cash Count (M6.E2) cashRegisterCreated// Cash Register / Kassenbuch (M6.E2) CashRegisterStatus// Customs Declaration (M6-H6) canTransitionCustomsDeclaration// Customs Declaration (M6-H6) customsDeclarationCreated// DTOs CreateJournalEntryInput// ERG-13: Billing Connectors StubEInvoicingProvider// Export/Import Workflow (M6-H6) CustomsDeclarationStatus// Fixed Asset (M6.E1) canTransitionFixedAsset// Fixed Asset (M6.E1) fixedAssetCreated// Fixed Asset / Anlagenbuchhaltung (M6.E1) FixedAssetStatus// GoBD Audit Export (M6.E4) GoBDAuditExportFormat// GoBD Audit Export (M6.E4) canTransitionGoBDAuditExport// GoBD Audit Export (M6.E4) gobdAuditExportCreated// H4: TaxCode Matrix TAX_CODE_MATRIX// H4: TaxCode enums TaxCode// Intercompany Transaction (M6.E3) IntercompanyTransactionType// Intercompany Transaction (M6.E3) canTransitionIntercompanyTransaction// Intercompany Transaction (M6.E3) intercompanyTransactionCreated// Intra-Community Supply Case (M6-AC-3) IntraCommunitySupplyCaseStatus// Intra-Community Supply Case (M6-AC-3) canTransitionIclCase// Intra-Community Supply Case (M6-AC-3) iclCaseCreated// Intrastat Report (M6-H6) canTransitionIntrastatReport// Intrastat Report (M6-H6) intrastatReportCreated// Invoice enums InvoiceType// JournalEntry enums TransactionType// Margin Scheme Case (M6-AC-4) MarginSchemeCaseStatus// Margin Scheme Case (M6-AC-4) canTransitionMarginSchemeCase// Margin Scheme Case (M6-AC-4) marginSchemeCaseCreated// Payment enums PaymentMethod// Provider Ports (M6-H6) CustomsDeclarationProviderPort// Reports VatReturnLine// Reserve DTOs CreateReserveInput// Reserve aggregate Reserve// Reserve enums (K8) ProvisionType- … und 537 weitere
Zurück zur Modul-Übersicht oder zur Startseite.