Invoice & Accounting
Preview Credit Note
Return the data needed to render a credit note preview. Currently returns `{ vendor_credit: VendorCreditResource, path: null }` — the PDF generation job will be wired in later.
Generate Accounting Transaction
Generate (or regenerate) the local accounting transaction for the vendor credit. Uses `VendorCredit::getAccountingTransactionData()` to build the lines and delegates to `AccountingTransactionManager::saveAccountingTransaction()`. Returns an `AccountingTransactionResource` with eager-loaded lines and nominal codes.