Skip to main content
An Attachment provides a structure to be used to attach documents inside a GOBL document, either as a reference via a URL, or directly as a base64 encoded string.

Schema ID

https://gobl.org/draft-0/org/attachment

Properties

TitlePropertyTypeReq.Description
UUIDuuidstringUniversally Unique Identifier.
Keykeycbc.KeyKey used to identify the attachment inside the document.
Codecodecbc.CodeCode used to identify the payload of the attachment.
NamenamestringtrueFilename of the attachment.
DescriptiondescriptionstringDetails of why the attachment is being included and details on what it contains.
URLurlstringURL of where to find the attachment. Prefer using this field over the Data field.
Digestdigestdsig.DigestDigest is used to verify the integrity of the attachment when downloaded from the URL.
MIME TypemimestringMIME type of the attachment.