Amp-Hour
Amp-Hour / Features / Precious metals

Precious metals

For shops plating gold, silver, palladium or rhodium: the daily price is entered once or taken from the live spot price, every invoice carries the surcharge the price list did not anticipate, and a reconciliation shows how much metal went into the tanks against how much went out on parts.

Setting up metals, processes and parts

A metal has a symbol, a name, a unit (troy oz) and a base price, the metal price your price list was built on. The starter kit creates AU Gold, AG Silver, PD Palladium and RH Rhodium with base prices you then edit under Shop setup, or from the Metals and base prices button on the Metal prices page. A process has a Precious Metal field; set it on your gold and silver finishes. A part has a Precious Metal Factor in troy ounces per pricing unit: the metal that goes onto one piece (or one pound, or one square foot, whatever the part is priced per). The surcharge needs both: a metal on the process and a factor on the part.

Entering prices

The Metal prices page shows each metal with its latest price, the change from the previous price, the date, a 90-day sparkline, the base price and the resulting surcharge per ounce. Office, manager and administrator roles enter prices in the form beside it: a price date and a price per metal. Entering a price for a date that already has one replaces it. Below is the 90-day price history. The Dashboard shows the current prices as well.

Someone types in the morning fix, or the price your refiner quotes, and that is the price used from that date until the next entry. When the server has a live price source, the form shows the live price beside each metal and a click on it enters it.

Live spot prices

Give a metal a live price ticker on its Shop setup record: XAU gold, XAG silver, XPT platinum, XPD palladium, XRH rhodium, HG copper or NI nickel. The Metal prices page then opens with a ticker strip: one tile per metal with the spot price in the metal's own unit (troy oz, oz, g, kg or lb; any other unit shows the price per troy oz), the change against the base price as a green or red percentage, and how long ago the price was fetched and from which source. The strip reads again every five minutes while the page is open. A metal the source does not carry says so on its tile.

Use live as base on a tile, for office, manager and administrator roles, sets that metal's base price to the live price in one click; the change is in the audit log. Tick Keep base price at the live price on a metal and its base follows every refresh on its own; the tile and the price form mark it auto, and today's row in the price history follows the live price too, so the reconciliation values metal at the live price. Entering a base price by hand works as before.

An administrator chooses what the surcharge uses, in the ticker strip: the daily price (the default) or the live price, which falls back to the daily price when no live price is on hand. Administrators also have a Refresh button that fetches at once; because the price source's quota is shared by every shop on the server, it works only once enough time has passed since the last fetch (five minutes for gold-api, thirty for metal-sentinel, the full refresh interval for the two sources with small free quotas). Live prices are indicative spot prices from a public data provider, not a dealer quote: shops that bill on their refiner's fix keep the daily price.

Who sets it up: the live feed is configured once for the whole server, not per shop. Amp-Hour fetches the prices for every shop in one call per interval and keeps them in memory, so free provider plans last, and it fetches nothing while no shop has looked at its metal prices for a day. The last prices are stored with each metal, so the page and the surcharge keep working while the provider is down; a failed refresh shows a notice in the strip. A self-hosted shop sets METALS_PROVIDER (gold-api, which needs no key; metals-dev, metalpriceapi or metal-sentinel with METALS_API_KEY) and optionally METALS_REFRESH_MINUTES in the server's .env file; the deployment guide lists each provider's free tier and the metals it covers. Rhodium needs a provider that lists it. When no source is configured, administrators see a note in place of the strip and nobody else sees anything. The platform console's Server page shows the source, the last fetch and the last error.

How the surcharge is computed

When a shipment is invoiced, each line whose process carries a metal gets a surcharge:

surcharge = metal factor × billed quantity × (price on ship date − base price)

The price on the ship date is the latest price entered on or before that date, or the live spot price when the shop has chosen it and one is on hand. When the price is at or below the base there is no surcharge. The line description names it, for example "AU surcharge @ $2465.14/oz (base $2350)", or "AU surcharge @ $2471.30/oz (live spot 2026-10-08 14:02 UTC, base $2350)" when the live price was used, and the invoice prints a separate Precious metal surcharge line and a Surcharge row in the totals. In the sample shop, 20,000 pins at a factor of 0.00008 troy ounces each with gold at $2,465.14 against a base of $2,350 add $184.22 to an $8,400 invoice. The surcharge posts to its own revenue account, 4900 by default, so it is separate from processing revenue in the ledger and in the Sales by customer and Sales by process reports. Manual invoices carry no surcharge. The quote form tells the customer that prices for precious-metal finishes are based on the metal price on the quote date and that a surcharge applies when the daily price exceeds the base (the spot market price when the shop's surcharge uses the live price).

Invoice for 20,000 pins hard gold plated at $0.42 each, with the line description showing the AU surcharge at $2465.14 per ounce against a base of $2350, a separate precious metal surcharge line of $184.22, and the totals.
The surcharge on an invoice: named in the line, then its own line and its own row in the totals. Sample shop.

Metal in inventory

Gold salts, silver anodes and the like are inventory items in the category precious metal or anode, in troy ounces, with an SDS link like any other chemical. The sample shop carries AU-PKCN, potassium gold cyanide at 68.3% Au, in the vault. Receive them against a PO like any other stock, and get them into the tank through a tank addition that names the item, so the issue is recorded against the tank. The reconciliation depends on both habits.

An add request line for a precious-metal item (the precious metal category) needs a witness, someone other than the person adding it. The witness types their lab PIN on the same phone, or confirms on their own login within the shop's window (15 minutes unless changed); until then nothing is taken from stock or posted. Lab settings can ask for a witness on every line instead. See Tank chemistry.

Metal reconciliation

The Metal reconciliation page, for administrators, managers and office staff, covers a date range (90 days by default) with one row per metal:

Purchased
Quantity received on inventory items in the precious metal or anode categories whose SKU or name contains the metal's symbol or name.
Added to tanks
Quantity of those items posted as tank additions in the period.
Plated out
Invoiced quantity times the part's metal factor, for every invoiced job whose process carries this metal.
Unaccounted
Added to tanks minus plated out, with the percentage. Shown in red when it exceeds 20% of what was added.
On hand
Quantity in stock and its value at the latest price.
Surcharge billed
Total surcharge invoiced for the metal in the period.

A large unaccounted balance is usually one of three things: drag-out to the rinse and recovery, a part factor that has not been checked against a stripped-sample assay, or an addition posted as a description instead of a stock item so it never counted. The page says as much under the table.

Reports

Metal price history lists every price entered with the base and the surcharge per ounce it produced, for a date range, as CSV or print. Sales by customer and Sales by process show processing and metal surcharge in separate columns. Shops that do no precious-metal work can switch the Precious metals module off under Settings > Modules, and the group leaves the sidebar.