What Is Azure Blob Storage? Follow One Invoice From Upload to Recovery

Azure Blob Storage stores data as individually named objects. An application can upload a PDF, save its object name in a database and later fetch the bytes over HTTPS. The storage service handles the underlying disks. Your application still decides who may read the PDF, what a second upload means and how long a deleted copy should be recoverable.
Table of Contents
Read an object address from left to right
Consider https://exampleacct.blob.core.windows.net/invoices/2026/INV-1042.pdf. In this illustrative address, exampleacct is the storage account, invoices is the container and 2026/INV-1042.pdf is the blob name. A container groups objects and can provide a boundary for assigning access. Knowing the full address does not give someone permission to read a private blob.
In the ordinary flat namespace, the slash is part of the name. A portal can display 2026 like a folder even though the application can write the object without first creating that directory. Azure also supports a hierarchical namespace for workloads that need directory semantics. Choose deliberately if an existing application moves or renames whole directories.
Pick the blob type by how the writer behaves
A block blob fits an invoice, photo or video. A client can stage blocks and commit them to form the object. An append blob suits a writer that adds data at the end, such as a sequential log. Page blobs support updates to ranges of bytes. For the invoice portal, a block blob is the straightforward choice even if every PDF happens to be small.
What if two customers upload invoice.pdf?
Keep the uploaded display name in the application’s records. Give the stored object an identifier tied to the invoice or upload, for example customer-82/inv-1042/revision-1.pdf. A customer prefix helps organize keys. The application must still authorize the customer before it returns the file.
| Event | Decision for the invoice portal |
|---|---|
| Customer uploads a corrected PDF | Issue a new revision and point the invoice record to it after the upload succeeds. |
| The network fails after a write | Check the intended key and recorded upload identity before retrying. An overwrite could replace a valid revision. |
| The blob upload succeeds but the database write fails | Record or reconcile the unreferenced object. Retrying the whole request blindly can create extra copies. |
A stable key makes a retry easier to reason about. It also makes accidental replacement possible. Use conditional creation when an existing object should win and a conditional update when a writer must prove it is replacing the revision it actually read.
Try four uploads on paper
Take two invoices from different customers, both uploaded as invoice.pdf. Add a correction named corrected.pdf, then retry that correction. Four requests should represent three stored revisions. Filename-only naming yields two distinct keys and collides across customers. Using customer ID, invoice ID and revision yields three keys, with the fourth request addressing the intended retry. That still leaves one check: if the retry supplies different bytes under the same revision, the application must reject or investigate it.
Give the application only the access it needs
Give the backend an identity and appropriate blob data permissions at the narrowest practical scope. For a private invoice portal, keep anonymous access disabled. An application can serve an authorized download itself or issue a short-lived, narrowly scoped shared access signature. Treat a signed download URL as a credential for its period of validity. Avoid putting it into permanent invoice records or analytics events.
Rehearse a mistake before choosing retention
In a test container, upload a sample invoice, replace it and then delete it. Ask the operator to recover the original bytes and identify the correct revision from the invoice record. Blob soft delete, container soft delete and versioning protect different events. Check support for your account configuration, especially with a hierarchical namespace. Redundant storage alone can faithfully replicate a mistaken change.
For regular reads, keep the delivery copy online. If accounting wants cheaper long-term retention, evaluate the read costs and retrieval deadlines of each access tier. If the client instead requires a mapped shared drive, the Blob Storage and Azure Files comparison starts with that constraint. The invoice design is ready when the team can locate, authorize and recover one specific revision.
For the wider platform context, see the P5M guide to Microsoft Azure.
Sources and further reading
Recent articles
Our editorial approach
Clear explanations, practical guidance and responsible research.





