Skip to content

058 — Auto-pair by order code (Číslo objednávky)

Description

Invoice FV2025020002 auto-pairs to a received order when its orderNo matches the order's internal auto-generated code PO20250002.

Preconditions

  • Clean database
  • User logged in with ADMIN and ACCOUNTING roles + user signature set up
  • Accounting entity Stavební firma ABC s.r.o. (ID 12345678) created
  • Contract Invoice Pairing - Auto by Code, branch 2025030, price 242 000 Kč
  • Mock folder invoice-pairing-code
  • Received order linked to contract, totalPrice 242 000 Kč, 5%/5% retainage, 5-year warranty

Steps

  1. Navigate to the received order detail — Expected: Invoice FV2025020002 is displayed — auto-paired by code
  • Spec: tests/e2e/tests/orders.spec.ts

Media

screenshot