Update Invoice Attachment
The ID of the invoice to which the attachment belongs.
The ID of the attachment to update.
Represents an attachment associated with an invoice in the billing system.
Platform entity metadata.
Contains audit-related details for the entity.
Name of the attachment.
raw records data
Specifies the type of the attachment, such as input, output, or general attachment.
Input
Represents the type of billing attachment.
Represents the name of the file associated with the attachment.
invoice.pdf
Indicates the size of the file in bytes.
102400
Represents the MIME type of the file content.
application/pdf
Provides a description of the attachment.
Invoice for March 2025
Indicates whether the attachment has been marked as deleted.
false
The unique identifier of the attachment.
INA-1234-1234
Indicates whether the attachment is stored externally
OK
Forbidden
Not Found
PUT /public/v1/billing/invoices/{invoiceId}/attachments/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 483
{
"$meta": {
"omitted": [
"text"
]
},
"audit": {
"created": {
"at": "2025-04-30T14:30:00.0000000+00:00",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-04-30T14:30:00.0000000+00:00",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"name": "raw records data",
"type": "Input",
"filename": "invoice.pdf",
"size": 102400,
"contentType": "application/pdf",
"description": "Invoice for March 2025",
"isDeleted": false,
"id": "INA-1234-1234",
"invoice": {
"id": "INV-123-456-789"
},
"isExternal": true
}
{
"$meta": {
"omitted": [
"text"
]
},
"audit": {
"created": {
"at": "2025-04-30T14:30:00.0000000+00:00",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-04-30T14:30:00.0000000+00:00",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"name": "raw records data",
"type": "Input",
"filename": "invoice.pdf",
"size": 102400,
"contentType": "application/pdf",
"description": "Invoice for March 2025",
"isDeleted": false,
"id": "INA-1234-1234",
"invoice": {
"id": "INV-123-456-789"
},
"isExternal": true
}
Last updated
Was this helpful?