Create Invoice Attachment
Path parameters
invoiceIdstringRequired
The ID of the invoice to which the attachment belongs.
Body
filestring · binaryOptional
The file of the attachment.
Responses
201
Created
application/json
Represents an attachment associated with an invoice in the billing system.
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.
INA-1234-1234isExternalbooleanOptional
Indicates whether the attachment is stored externally
400
Bad Request
application/json
post
/public/v1/billing/invoices/{invoiceId}/attachmentsLast updated
Was this helpful?