Create Statement Attachment

Creates a new statement attachment.

post
Path parameters
statementIdstringRequired

The ID of the statement to which the attachment belongs.

Body
filestring · binaryOptional

The file of the attachment.

Responses
chevron-right
201

Created

application/json

Represents an attachment associated with a billing statement in the system.

namestringOptional

Name of the attachment.

Example: raw records data
typeall ofOptional

Specifies the type of the attachment, such as input, output, or general attachment.

Example: Input
string · enumOptional

Represents the type of billing attachment.

Possible values:
filenamestringOptional

Represents the name of the file associated with the attachment.

Example: invoice.pdf
sizeinteger · int64 · nullableOptional

Indicates the size of the file in bytes.

Example: 102400
contentTypestringOptional

Represents the MIME type of the file content.

Example: application/pdf
descriptionstringOptional

Provides a description of the attachment.

Example: Invoice for March 2025
isDeletedbooleanOptional

Indicates whether the attachment has been marked as deleted.

Example: false
idstringOptional

The unique identifier of the attachment.

Example: STA-1234-1234
post
/public/v1/billing/statements/{statementId}/attachments

Last updated

Was this helpful?