Fetch all entries
Fetch all the silo entries in the current company.
curl --request GET \
--url https://api.invopop.com/silo/v1/entries
{
"created_at": "2018-01-01T00:00:00.000Z",
"cursor": "<string>",
"folder": "sales",
"limit": 20,
"list": [
{
"attachments": [
{
"created_at": "2018-01-01T00:00:00.000Z",
"desc": "Invoice for January 2021.",
"entry_id": "347c5b04-cde2-11ed-afa1-0242ac120002",
"hash": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6",
"id": "<string>",
"meta": {},
"mime": "application/pdf",
"name": "invoice.pdf",
"size": 12345,
"stored": true,
"url": "<string>"
}
],
"context": "line.item",
"created_at": "2018-01-01T00:00:00.000Z",
"data": {},
"digest": {
"alg": "<string>",
"val": "<string>"
},
"doc_schema": "https://gobl.org/draft-0/bill/invoice",
"draft": true,
"env_schema": "https://gobl.org/draft-0/envelope",
"faults": [
{
"code": "<string>",
"message": "<string>",
"provider": "pdf"
}
],
"folder": "sales",
"id": "347c5b04-cde2-11ed-afa1-0242ac120002",
"invalid": true,
"key": "invoice-101",
"meta": [
{
"created_at": "2018-01-01T00:00:00.000Z",
"entry_id": "347c5b04-cde2-11ed-afa1-0242ac120002",
"id": "347c5b04-cde2-11ed-afa1-0242ac120002:source:key",
"key": "service-id",
"link_scope": "public",
"link_url": "https://example.com/info",
"ref": "<string>",
"shared": true,
"src": "source",
"updated_at": "2018-01-01T00:00:00.000Z",
"value": {
"key": "value"
}
}
],
"signed": true,
"snippet": {
"title": "Sample Title"
},
"state": "sent",
"tags": [
"<string>"
],
"updated_at": "2018-01-01T00:00:00.000Z"
}
],
"next_cursor": "<string>"
}
Query Parameters
Folder to search within.
"invoices"
Date from which results are provided.
"2023-08-02T00:00:00.000Z"
Position provided by the previous result's next_cursor property.
Maximum number of entries to show in a page of results.
20
Response
Date from which results are provided.
"2018-01-01T00:00:00.000Z"
Cursor used to identify the current page of results.
Key for the folder
"sales"
Maximum number of entries to show in a page of results, up to 100.
20
Array of entries.
List of attachments for this entry.
The date and time this attachment was created.
"2018-01-01T00:00:00.000Z"
Description of the file.
"Invoice for January 2021."
The UUID of the entry this attachment belongs to.
"347c5b04-cde2-11ed-afa1-0242ac120002"
SHA256 hash of the file.
"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6"
The UUID that identifies the attachment.
Any additional meta data about the attachment.
MIME type of the file.
"application/pdf"
Name of the file.
"invoice.pdf"
Size of the file in bytes.
12345
When true, indicates that the file's contents have been uploaded successfully.
true
URL where the file's contents can be downloaded.
When entry provided within a related query, this is the context within the document.
"line.item"
The date and time the silo entry was created.
"2018-01-01T00:00:00.000Z"
JSON envelope contents when specifically requested.
Schema URL for the envelope's payload.
"https://gobl.org/draft-0/bill/invoice"
Deprecated. When true, indicates that the envelope is not signed.
true
Schema URL for the envelope.
"https://gobl.org/draft-0/envelope"
List of faults that occurred during the processing of the job associated with the last state.
Code assigned by the provider that may provide additional information about the fault.
Message assigned by the provider that may provide additional information about the fault.
ID of the provider that generated the fault.
"pdf"
Key for the folder where the entry is located.
"sales"
UUID of the silo entry.
"347c5b04-cde2-11ed-afa1-0242ac120002"
When true, the envelope's contents are invalid and need to be reviewed.
true
Key used to identify the entry idempotently within a workspace.
"invoice-101"
Additional meta fields associated with the entry.
Timestamp of when the row was created.
"2018-01-01T00:00:00.000Z"
ID of the entry this meta row belongs to
"347c5b04-cde2-11ed-afa1-0242ac120002"
Compound ID of the meta row.
"347c5b04-cde2-11ed-afa1-0242ac120002:source:key"
Key used to identify the meta entry by the source.
"service-id"
Describes the context in which the link should be made available.
"public"
URL associated with the meta row that may be used to perform additional actions or view more details.
"https://example.com/info"
Indexable value used to locate the meta entry if a silo entry ID is not available.
When true, the meta entry may be shared with other applications.
true
The service or source that create this meta entry.
"source"
Timestamp of when the row was last updated.
"2018-01-01T00:00:00.000Z"
The JSON data stored with the meta row.
{ "key": "value" }
When true, the envelope has been signed and should not be modified.
true
JSON object containing a snippet of the document.
{ "title": "Sample Title" }
Current state of the silo entry if not a draft.
"sent"
Copy of tags stored in the envelope header.
The date and time the silo entry was last updated.
"2018-01-01T00:00:00.000Z"
Cursor used to identify the next page of results.
curl --request GET \
--url https://api.invopop.com/silo/v1/entries
{
"created_at": "2018-01-01T00:00:00.000Z",
"cursor": "<string>",
"folder": "sales",
"limit": 20,
"list": [
{
"attachments": [
{
"created_at": "2018-01-01T00:00:00.000Z",
"desc": "Invoice for January 2021.",
"entry_id": "347c5b04-cde2-11ed-afa1-0242ac120002",
"hash": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6",
"id": "<string>",
"meta": {},
"mime": "application/pdf",
"name": "invoice.pdf",
"size": 12345,
"stored": true,
"url": "<string>"
}
],
"context": "line.item",
"created_at": "2018-01-01T00:00:00.000Z",
"data": {},
"digest": {
"alg": "<string>",
"val": "<string>"
},
"doc_schema": "https://gobl.org/draft-0/bill/invoice",
"draft": true,
"env_schema": "https://gobl.org/draft-0/envelope",
"faults": [
{
"code": "<string>",
"message": "<string>",
"provider": "pdf"
}
],
"folder": "sales",
"id": "347c5b04-cde2-11ed-afa1-0242ac120002",
"invalid": true,
"key": "invoice-101",
"meta": [
{
"created_at": "2018-01-01T00:00:00.000Z",
"entry_id": "347c5b04-cde2-11ed-afa1-0242ac120002",
"id": "347c5b04-cde2-11ed-afa1-0242ac120002:source:key",
"key": "service-id",
"link_scope": "public",
"link_url": "https://example.com/info",
"ref": "<string>",
"shared": true,
"src": "source",
"updated_at": "2018-01-01T00:00:00.000Z",
"value": {
"key": "value"
}
}
],
"signed": true,
"snippet": {
"title": "Sample Title"
},
"state": "sent",
"tags": [
"<string>"
],
"updated_at": "2018-01-01T00:00:00.000Z"
}
],
"next_cursor": "<string>"
}