Skip to content

CON-ACC-TRX-004Credit

Markdown

CON-ACC-TRX-004

Credit

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

Planning

Feature
FEAT-ACC-TRX-04
Owned by
MOD-ACC-TRX
Acted on by
CAP-ACC-TRX-009, CAP-ACC-TRX-011, CAP-ACC-TRX-012, CAP-ACC-TRX-014
Visible to
ACT-ACC-012, ACT-ACC-002, ACT-ACC-021
Not to be confused with
A credit memo (an adjustment that lowers an invoice's lines), Unapplied money (money still on a payment that has not been turned into a credit), A refund (money paid back to the customer)

Design

Specified by
DOM-ACC-TRX-004

KindKey conceptProduct areaAccountingModuleTransactionsRevision1

Read atservices-accounting f47cb263react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Definition
Credit retains value available to one customer for eligible future invoice settlement through separate applications.
Synonyms
store creditcustomer credit

Relationships

ToStatementProvenance
CON-ACC-TRX-003Creating payment-backed credit transfers available receipt value until credit void restores it.test
services-accounting:modules/transactions/tests/integration/services/credits/credits.integration.spec.js#it takes the money off the payment: credited out 2000, unapplied 1000
CON-ACC-TRX-001Applications restrict spending to the credit customer’s billed lines.test
services-accounting:modules/transactions/tests/integration/services/credits/credits.integration.spec.js#it refuses a credit of another customer than the invoice’s bill-to (credit_customer_mismatch)
CON-ACC-TRX-005Held credit contributes to current standing and negative aging value.observed

Lifecycle

StateMeaningHow it changes
openPositive available value remains eligible for spending.Use can consume it and unused value can be voided.
usedApplications or refunds consumed the available balance.Opposite application can restore available value.
voidUnused issued value has been cancelled but retained.The completed void remains final.

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.