<- Object

Object

InvoiceAttachment

Represents a file attached to an invoice.

Link to section

Properties

Link to section

id

string

Read only The Square-assigned ID of the attachment.

Link to section

filename

string

Read only The file name of the attachment, which is displayed on the invoice.

Link to section

description

string

Read only The description of the attachment, which is displayed on the invoice. This field maps to the seller-defined Message field.

Link to section

filesize

integer(32-bit)

Read only The file size of the attachment in bytes.

Link to section

hash

string

Read only The MD5 hash that was generated from the file contents.

Link to section

mime_type

string

Read only The mime type of the attachment. The following mime types are supported: image/gif, image/jpeg, image/png, image/tiff, image/bmp, application/pdf.

Link to section

uploaded_at

string

Read only The timestamp when the attachment was uploaded, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00