Set up QoreX
You need QoreX to send or pay an invoice. You don’t need it to read a receipt.
- Use a native QoreChain account. Open QoreX in the same browser profile as Bervis. Select Diana testnet and an account whose address starts with
qor1. A0xaccount is for EVM; you don’t need one for a new invoice. - Get test QOR. Copy your
qor1address to the Diana faucet. The issuer needs enough for the signing transaction and its fee. The payer needs the invoice amount plus a fee. Neither needs ETH. - Connect in Bervis. Open the app, choose Connect QoreX, and approve the connection in the extension. Check that Bervis shows the account you meant to use. Connecting doesn’t send funds.
QoreX is installed, but Bervis can’t see it
Unlock QoreX and check its site access in your browser’s extension settings. Allow the site shown in the connect panel and reload that tab. If Bervis still says QoreX Native unavailable, update the extension and make sure the native account is selected. Detecting a different wallet doesn’t mean it can sign a Diana transfer.
Bervis never asks for your recovery phrase or private key. Approve connections and transactions in the QoreX extension.
Create an invoice
- In the app, choose New invoice. Enter a title your client will recognize and the amount in test QOR. Your connected native account supplies the payout address. Leave the client’s wallet out of it; they choose which wallet pays at checkout.
- Select Create invoice. QoreX opens to sign the invoice right away. Approve only if it’s your account and the request matches the signing step described below.
- Wait for Bervis to confirm the signing transaction on Diana. If you close or decline the QoreX request, the invoice stays a draft. You can come back to it in Invoices.
Why am I sending QOR to myself?
QoreX sends 1 uqor (0.000001 test QOR) back to your own account. The memo carries a fingerprint of the invoice, including the amount you asked for and where it should go. Only the network fee leaves your account. If you invoice for 10 test QOR, the client still owes 10; this is your signature, not their payment.
Reference a file is optional. It lets you include the file’s name and fingerprint so a client who already has a copy can check it. Bervis doesn’t upload the file or deliver it to the client.
Pay an invoice
- Open the link. If you’re already in Bervis, paste it into Pay an invoice on Overview. Checkout opens in the same tab. If the link already has a verified payment, it opens the receipt instead.
- Check who you’re paying. Bervis checks the amount and address against the issuer’s signed terms. Confirm that the invoice came from the person you expected. A signed invoice can still come from the wrong person.
- Approve in QoreX. Connect a funded native account other than the issuer’s, then select Pay in QoreX. Compare the recipient and amount with checkout and review the fee before approving. Opening or checking a link doesn’t send anything.
- Wait for Diana. Bervis checks the transfer and its link to these exact terms before showing Payment verified. If you’ve already approved it but the check is stuck, recover the existing transaction instead of paying again.
Read a payment receipt
After Bervis verifies and saves the payment, reopen the original short link or choose View payment receipt from checkout. You can copy the receipt link, print it, or save it as a PDF. You don’t need a connected wallet to check it.
- Amount and revision
- The amount paid and the version of the invoice it paid. A payment for revision 1 doesn’t count toward revision 2, even if both ask for the same amount.
- Paid to · Signed invoice terms
- The issuer’s address and the Diana transaction that recorded their terms. It’s the small self-transfer, not the client’s payment.
- Paid by · Payment transfer
- The client’s address and the transaction that sent the invoice amount. The receipt links to both records.
- Both signatures verified on Diana
- Bervis found Diana’s hybrid verification result for both transactions. The receipt proves what the wallets signed and what moved on testnet. It doesn’t prove who owns a wallet or that the work was delivered.
In Payments, choose Verify on Diana for a transaction you haven’t checked. Once it verifies, the entry shows the explorer and receipt links for that browser.
Fix a stuck transaction
Check QoreX before you try again
If QoreX shows a submission, copy its transaction ID. A slow or unavailable Diana read doesn’t mean the transfer failed. Don’t send another payment while you’re checking the first one.
- The invoice is still a draft, but I approved it
- Open the draft and expand Already approved in QoreX? Choose Use a transaction ID, paste the issuer transaction ID, and select Check Diana.
- I paid, but checkout still shows an amount due
- Open Already approved a payment? in checkout and paste the payment ID. If you’re in the invoice details, choose Add transaction ID instead. Bervis only saves a transfer that matches this invoice revision.
- Waiting for Diana or Diana unavailable
- Give the network time to return the transaction, then check the same ID again. If the explorer can’t find the ID yet, try the in-app check too. An unavailable read isn’t a payment verdict.
- Not verified
- Read the reason Bervis shows. Check that you copied the payment ID, not the issuer’s ID, and opened the revision the client paid. A transfer with the wrong amount, recipient or memo can’t become a verified receipt for this invoice.
- Invoice link not found or couldn’t be saved
- Check that you copied the full link and opened it on the same site that created it. If saving the link failed, reopen the signed invoice and try Create short link again. You don’t need to sign a second time just to retry the link.
What hybrid signing does
The fingerprint identifies the bill. Bervis hashes the invoice terms with SHA-256. If the amount, address or revision changes, so does that fingerprint. The issuer signs a memo that contains it. The payer signs a memo that contains both the fingerprint and the issuer’s transaction ID. That’s how Bervis tells two invoices for the same amount apart.
The signatures authorize the action. On Bervis’s native flow, QoreX uses a classical signature (secp256k1) and a post-quantum signature (ML-DSA-87). Bervis reads Diana’s pqc_hybrid_verify result for the signer of each transaction. The network checks the signatures; Bervis checks that the network’s verdict and the signed transfer match the invoice.
If a future quantum computer could forge the classical signature, that signature alone wouldn’t satisfy the hybrid check. This is a future threat, not a reported attack on Bervis. Hybrid signing doesn’t encrypt the invoice or stop you approving the wrong recipient.
Older contract invoices
Earlier Bervis invoices settle through BervisInvoices on Diana EVM (chain ID 9800). The contract checks the active revision and exact amount, forwards the payment to the issuer, and records who paid. Keep the original link for an older invoice; don’t pay it again to get a native receipt.
New invoices use native QoreX transfers instead. They don’t call the contract, and the contract’s one-payment rule doesn’t apply to them. The contract page shows the deployment transaction and checks the deployed bytecode.
View the invoice contract