Skip to main content
POST

Authorizations

Authorization
string
header
required

Company-bound Case Management API key — the standard credential for this API.

Headers

X-On-Behalf-Of-Company
string<uuid>

Required when a Partner key calls the Case Management API; rejected for direct Case keys. Contains the entitled paywise company UUID.

Idempotency-Key
string
required

Required client-supplied command key scoped to the selected Case company or Partner owner, method, operation and path. An exact retry replays the original response while it is retained, including after credential rotation or replacement. Current permissions are required.

Maximum string length: 255

Body

application/json

Create an order with a referenced debtor and embedded claims in one API call. Returns the created order in its read representation.

debtor_id
string<uuid>
required

Existing primary debtor in the selected company.

additional_debtor_ids
string<uuid>[]

Other debtors, each supplied by an existing UUID from the active company. The primary debtor cannot also appear here, and each referenced additional debtor may appear only once. Maximum 10 entries.

Maximum array length: 10
claims
(Receivable claim · object | Titled claim · object)[]

Claims to create in this draft; each must specify type. Invoice and rental orders accept receivable claims. Titled orders accept titled claims and receivable enforcement costs (K014); at least one complete claim, including one titled claim for titled orders, is required before finalization. Maximum 50 entries. The 50-claim limit applies to the complete order, including claims added later through the claim endpoint; exceeding it returns 400 validation_error.

Maximum array length: 50

Create a receivable claim: the amount is stated on the claim itself.

confirmation_email
string<email> | null

Address that receives the order entry confirmation (Eingangsbestätigung) when the order is finalized. Omit or set null for no confirmation email.

Required string length: 1 - 255
creditor_obligation_fulfilled
boolean | null

Whether you have fully performed your obligation to the debtor. For invoice and rental orders, supply true or false before finalization; null leaves the decision unset. Omit for titled orders.

rental_agreement
object

Rental-agreement singleton supplied only for a rental order.

starting_approach
enum<string> | null

Initial route for invoice and rental orders: extrajudicial starts with out-of-court collection; judicial starts by applying for a payment order (Mahnbescheid). Required before finalization; omit for titled orders, where enforcement is implicit.

Available options:
extrajudicial,
judicial
success_fee_confirmed
boolean

Only valid for titled orders. Confirmation of the titled-order success-fee arrangement; it must be true before finalization. See the paywise General Terms and Conditions (AGB) for the exact conditions for titled orders.

type
enum<string>
default:invoice

Order type discriminator: invoice, rental, or titled. Defaults to invoice when omitted.

Available options:
invoice,
rental,
titled

Response

An invoice order contains receivable claims and exposes starting_approach and creditor_obligation_fulfilled.

Read representation of an order.

status is derived from the order's submission and review progress; mandate names the created mandate once the order is accepted; merged_into names the surviving order when this order was merged away during review.

additional_debtors
object[]
required
read-only

Inline summaries of the additional debtors. Retrieve each debtor's full details with GET /v2/debtors/{id}/ using its id. Replace membership through PATCH /v2/orders/{id}/ while the order is a draft. API submissions are limited to 10 additional debtors.

claims
(Receivable claim · object | Titled claim · object)[]
required
read-only

Receivable claims belonging to this order, including their itemized charges and documents. Titled claims are accepted only in titled orders. API submissions are limited to 50 claims per order.

A receivable claim based on an invoice, rent, or another obligation. Its principal amount, dates, charges, and documents belong to the claim.

confirmation_email
string<email> | null
required
read-only

Address receiving the order-entry confirmation, when requested.

created_at
string<date-time>
required
read-only

Time at which the order was created.

creditor_obligation_fulfilled
boolean | null
required
read-only

Whether you fully performed your obligation to the debtor.

debtor
object
required

Inline summary of the primary debtor. Retrieve full details with GET /v2/debtors/{id}/ using its id.

expires_at
string<date-time> | null
required
read-only

Time at which this API-created draft expires: updated_at plus 90 days, refreshed by every successful draft change. Once it has passed, the order reads expired and every change answers 409 order_expired until the daily cleanup deletes it. Null once the order is finalized and for orders created in the portal.

id
string<uuid>
required
read-only

Stable identifier of this order.

mandate
string<uuid> | null
required
read-only

Accepted case created from this order, when available.

merged_into
string<uuid> | null
required
read-only

Surviving order when this order was merged during review.

rejection
object | null
required

Why paywise declined the order: reason, time, notified recipients, and the standard reason's key. Null unless status is rejected.

starting_approach
enum<string> | null
required

Initial collection route: extrajudicial starts out of court; judicial starts by applying for a payment order (Mahnbescheid). Null while this decision is unset.

Available options:
extrajudicial,
judicial
status
enum<string>
required

Order lifecycle state: draft is editable; submitted awaits processing; awaiting_client_response requires client input; accepted has entered case processing; rejected was declined; withdrawn was cancelled by the client; expired passed its draft deadline and accepts no further changes (409 order_expired) until the daily cleanup deletes it; merged points to the surviving order in merged_into.

Available options:
draft,
submitted,
awaiting_client_response,
accepted,
rejected,
withdrawn,
expired,
merged
totals
object
required

Financial totals calculated across the order's claims.

type
enum<string>
required

Literal invoice order discriminator.

Available options:
invoice
updated_at
string<date-time>
required
read-only

Time at which the order was last updated.