Update Ledger Attachment
Path parameters
ledgerIdstringRequired
The ID of the ledger to which the attachment belongs.
idstringRequired
The ID of the attachment to update.
Body
Represents an attachment associated with a ledger in the billing system.
$metaall of | nullableOptional
Platform entity metadata.
auditall ofOptional
Contains audit-related details for the entity.
namestringOptionalExample:
Name of the attachment.
raw records datatypeall ofOptionalExample:
Specifies the type of the attachment, such as input, output, or general attachment.
Inputstring · enumOptionalPossible values:
Represents the type of billing attachment.
filenamestringOptionalExample:
Represents the name of the file associated with the attachment.
invoice.pdfsizeinteger · int64 | nullableOptionalExample:
Indicates the size of the file in bytes.
102400contentTypestringOptionalExample:
Represents the MIME type of the file content.
application/pdfdescriptionstringOptionalExample:
Provides a description of the attachment.
Invoice for March 2025isDeletedbooleanOptionalExample:
Indicates whether the attachment has been marked as deleted.
falseidstringOptionalExample:
The unique identifier of the attachment.
LEA-1234-1234ledgerall ofOptional
Responses
200
OK
application/json
403
Forbidden
application/json
404
Not Found
application/json
put
/public/v1/billing/ledgers/{ledgerId}/attachments/{id}Last updated
Was this helpful?