Skip to content

Replace the tenant-fixed attachments this invoice omits

PUT
/v1/invoices/{id}/omitted-fixed-attachments
curl --request PUT \
--url https://api.emite.cr/v1/invoices/example/omitted-fixed-attachments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "omittedFixedAttachmentIds": [ "example" ] }'

Sets which non-mandatory tenant-fixed attachments to drop from this invoice's email. Allowed only while the invoice is draft/error. Mandatory and unknown ids are ignored; the cleaned list actually stored is returned.

id
required
string

Invoice UUID

Media typeapplication/json
object
omittedFixedAttachmentIds
required

IDs of the tenant-fixed attachments to omit from this invoice. Non-mandatory only; unknown/mandatory ids are ignored.

Array<string>
Examplegenerated
{
"omittedFixedAttachmentIds": [
"example"
]
}
Media typeapplication/json
object
omittedFixedAttachmentIds
required

IDs of the tenant-fixed attachments to omit from this invoice. Non-mandatory only; unknown/mandatory ids are ignored.

Array<string>
Examplegenerated
{
"omittedFixedAttachmentIds": [
"example"
]
}

Invoice not found.

Invoice already submitted/accepted (INVOICE_NOT_ATTACHABLE).