The New Credit Memo page creates a credit memo for a customer. It is accessible at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/fa/credit-memos/new.
Overview
The page has a two-column layout:- Left (2/3):
- Credit Memo Details card:
CreditMemoForm— customer, credit memo date, credit type, optional original invoice reference, reason, notes. The credit memo number is auto-generated viauseGenerateCreditMemoNumber. - Line Items card:
CreditMemoLineEditor— line number, description, account, quantity, unit price, computed line amount.
- Credit Memo Details card:
- Right (1/3):
- Actions card: Save as Draft (
status: "draft") or Issue Credit Memo (status: "sent"). Both are disabled untilformDataand at least one line are present. - Summary card: Line count and total credit amount.
- Actions card: Save as Draft (
useCreateCreditMemo creates the header and useCreateCreditMemoLine creates each line. Navigates to /fa/credit-memos/:id on success.
Primary mutations: useCreateCreditMemo, useCreateCreditMemoLine
Who it’s for
No explicit permission gate on this route.Before you start
- At least one active customer must exist.
- GL accounts must be configured for line-item coding.
- Optional: identify the original invoice if this is a return or correction.
Steps
- Navigate to
/fa/credit-memos/new. - Complete the Credit Memo Details form (customer, date, credit type, optional invoice, reason, notes).
- Add at least one line item in the Line Items section (description, account, quantity, unit price).
- Review the Summary card for total credit amount.
- Click Save as Draft to save without issuing, or Issue Credit Memo to set status to
sent. - On success, you are redirected to the credit memo detail page.
Key concepts
- Credit type:
return(product return),discount(price adjustment),error_correction(billing error),other. - Save as Draft:
status: "draft"— can be edited later. - Issue:
status: "sent"— treated as issued to the customer.
Related
Finance & Revenue
Finance & Revenue core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/fa.tsx
- src/cores/fa/pages/CreditMemoCreatePage.tsx
- src/cores/fa/hooks/useCreditMemos.ts
- src/cores/fa/hooks/useCreditMemoLines.ts
- src/cores/fa/components/CreditMemoForm.tsx
- src/cores/fa/components/CreditMemoLineEditor.tsx