Centurio Documents de système et de module
🏛️ Architecture de plateforme 🔑 Login
🏠 Tous les modules / sales_billing / Les paiements et la banque
📘

Les paiements et la banque

payments sales_billing 🛡️ RLS Protected

Les paiements et les services bancaires <unk> documentation de processus et API dérivées du code.

Fachliche Bestimmung: Les données relatives aux processus et aux API dérivées du code, comprenant tous les processus, capacités, machines d'état, API et tables de simulation et de révision enregistrés.

⚡ Flux de travail et cycles de vie

Commande d'utilisation: agent de correspondance des paiements plan:command_payment_matching_agent

Plan durable vérifié (durable_plan), démarrage: manuel_command.

1. payment_matching_agent
payment_matching_agent
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Aktionen: payment_matching_agent

Le paiement status:payment

Les transitions ne sont pas obligatoires <unk> voir validation de service.

1. unmatched
à l'échelle
Le statut de la machine de paiement de l'état
2. matched
à l'intérieur
Statut <unk>matched<unk> du paiement de la machine de condition.
3. confirmed
confirmé
Statut <unk>confirmé<unk> du paiement de la machine de condition.

🗄️ Modèles de données

PaymentOrders payment_orders RLS Aktiv
14 Les champs / colonnes

Tabelle payment_orders

Feldname Type de données Le dépôt Schlüssel Importance professionnelle
kind VARCHAR(16) Ja * - Feld kind
package_amount NUMERIC(14, 2) Ja * - Feld package_amount
package_gb INTEGER Nein - Feld package_gb
provider VARCHAR(16) Ja * - Feld provider
provider_session_id VARCHAR(255) Nein - Feld provider_session_id
status VARCHAR(16) Ja * - Feld status
created_by UUID Nein - Feld created_by
paid_at DATETIME Nein - Feld paid_at
topup_id UUID Nein FK ➔ ai_budget_topups.id Feld topup_id
rental_booking_id UUID Nein FK ➔ rental_bookings.id Feld rental_booking_id
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
Payments payments RLS Aktiv
22 Les champs / colonnes

Tabelle payments

Feldname Type de données Le dépôt Schlüssel Importance professionnelle
transaction_date DATE Ja * - Feld transaction_date
value_date DATE Nein - Feld value_date
amount NUMERIC(14, 2) Ja * - Feld amount
currency VARCHAR(3) Ja * - Feld currency
direction VARCHAR(48) Ja * - Feld direction
payment_method VARCHAR(32) Nein - Feld payment_method
counterparty_name VARCHAR(255) Nein - Feld counterparty_name
counterparty_iban VARCHAR(34) Nein - Feld counterparty_iban
reference TEXT Nein - Feld reference
bank_transaction_id VARCHAR(128) Ja * - Feld bank_transaction_id
invoice_id UUID Nein FK ➔ invoices.id Feld invoice_id
matching_confidence NUMERIC(4, 3) Nein - Feld matching_confidence
status VARCHAR(48) Ja * - Feld status
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata

🔌 Les points d'entrée (UI et API)

Art Le mode de fonctionnement Point de fin / parcours Titel & Zweck Leur
⚡ REST API DELETE /api/v1/payments/{payment_id}
delete_payment
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API GET /api/v1/payments
list_payments
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments
payments_page
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments/new
payment_create_page
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments/{payment_id}
payment_detail_page
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments/{provider}/return
payments_return
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API POST /api/v1/payments
create_payment
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API POST /api/v1/payments/import-statement
import_bank_statement
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API POST /api/v1/payments/{payment_id}/match
match_payment
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API POST /api/v1/payments/{payment_id}/unmatch
unmatch_payment
Semantic binding: not_evaluated; mutation=True
payments

🛡️ Réglementation et conformité

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • La mise en œuvre de la politique de sécurité
  • Les données de l'expertise sont définies dans le tableau de bord.