MarginLedger

MarginLedger public page

Demo and sample invoice

A synthetic walkthrough for merchants and reviewers. App Store review uses the review store supplied with the submission; every other merchant uses a Shopify development store they control. Do not use real customer or supplier information.

Last updated: November 28, 2026

This page is for evaluation only. It does not create a merchant account, promise a production result, or contain real merchant, customer, supplier, or payment data. App Store reviewers use the review store supplied with the submission. Other merchants should use a Shopify development store they control and must not install or test on a store with real merchant data.

Sample invoice: /demo/sample-invoice.csv Download CSV

The file is UTF-8, comma-delimited, and synthetic. It has 8 data rows: 6 matched product rows, 1 intentionally unmatched product row, and 1 freight line. There are no real barcodes, addresses, emails, phone numbers, or payment details.

1. Install the App

App Store reviewers install MarginLedger on the review store supplied with the submission, which is a Shopify development store containing QA synthetic data. Other merchants install on a Shopify development store they control. For installation help, email founder@modestforge.com.

2. Create a test supplier

Create a supplier named QA Synthetic Supplier with:

  • currency USD;
  • cost basis ex-tax (EX_TAX);
  • default supplier tax rate 20%.

3. Create the test SKUs

Create six matched product variants with these synthetic SKUs and baseline values. Do not create QA-UNKNOWN-99; that row is listed so you can confirm the import reports it as unmatched. Do not create a variant for FREIGHT-01; that line is a non-product freight charge.

Synthetic SKUs for the demo
SKUBaseline priceBaseline unit costExpected review status
QA-MUG-0112.996.40REPRICE
QA-TOTE-0229.9910.00COST_ONLY
QA-BOWL-0312.994.20NO_CHANGE
QA-LEAD-0424.998.00GUARDRAIL_COST_INCREASE
QA-CABLE-059.993.00COST_ONLY
QA-SOAP-0614.995.00COST_ONLY
QA-UNKNOWN-99nonenoneUNMATCHED

The review store settings used by the sample are USD, prices exclude tax, 20% VAT, a 40% margin floor, a 45% target margin, a 2% cost-change threshold, a 25% maximum cost increase, a 25% maximum price increase, and a .99 price ending.

4. Import the sample invoice

  1. Open Repricing and choose New repricing.
  2. Choose QA Synthetic Supplier.
  3. Enter invoice number QA-SYNTH-2026-001 and a synthetic invoice date.
  4. Upload sample-invoice.csv.
  5. Confirm the column mapping and confirm that the freight line is treated as a non-product line.
  6. Open the Review page and compare the line statuses with the table above.

CSV and XLSX imports are parsed in the app and do not call an OCR provider. PDF and image OCR is enabled in production and sends invoice content to Z.AI in Singapore. OCR is optional for this walkthrough; if you test it, use only a synthetic PDF or image invoice and never a real invoice.

5. What to check

  • the supplier, currency, tax basis, and invoice totals;
  • the matched SKUs and the unmatched line;
  • the non-product freight warning;
  • the cost-change and margin statuses;
  • that any write is blocked until the unmatched and guardrail lines are resolved.
  • on the Growth trial, that marking the review complete writes only the approved lines, the readback matches the approved values, and inventory quantity does not change;
  • that rolling back the batch restores the baseline cost and price values;
  • that the audit CSV export contains event type, time, actor, and summary.

The demo is complete when the Review page shows the expected statuses. Write, readback, rollback, and audit export require a write-enabled plan such as the Growth trial and should only be done on a development store you control. No real money is collected in the demo.

6. Limits

The sample is not a real invoice and is not evidence of a live production write, OCR accuracy on arbitrary documents, billing, or app-store approval. The demo does not include customer or order data. If you need a full closed-loop evaluation or a signed DPA, contact founder@modestforge.com.