Create an entry
Create a new silo entry idempotently with the given UUID.
Use UUID versions 1 or 7 for documents with a specific lifespan like invoices or payment receipts, or versions 3, 4, and 5 for long-lived data like contacts or products. The rules for UUID versions are enforced by specific folder configurations.
The data
field may contain either a GOBL Envelope or Object, and
will be validated before being persisted.
New entries may also be created based on a previous entry using the previous_id
field. Using a previous entry allows you to provide patch data instead of a new full document by setting the patch type in the content_type
field to either:
application/json-patch+json
- for JSON Patch (RFC 6902)application/merge-patch+json
- for JSON Merge Patch (RFC 7396)
The previous_id
field can also be used to make corrective documents by adding the corrective option data in the correct
field. For more details on this, see the GOBL documentation for correction options.
Path Parameters
UUID of the silo entry to create.
"347c5b04-cde2-11ed-afa1-0242ac120002"
Body
Response
OK
The response is of type object
.