Receipts
Receipts
Receipt::from_booking validates a reserved reusable booking, usage limits, cache permission, and total charge including surcharge. It returns owner, user, booking, generation, charge, and deadline. Pass that receipt to Protocol::claim.
PublishedReceipt::from_claim decodes a reusable claim record. Successful execution and deployment/account bindings must still be established before counting it as settled history. Retain signed transactions after storage reuse.
This function receives validated booking, model, and user state. It derives the stored fee destinations and builds a reusable claim. The selected provider signs.