List the tenant-fixed attachments this invoice omits from its email
GET
/v1/invoices/{id}/omitted-fixed-attachments
const url = 'https://api.emite.cr/v1/invoices/example/omitted-fixed-attachments';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.emite.cr/v1/invoices/example/omitted-fixed-attachments \ --header 'Authorization: Bearer <token>'The tenant-fixed attachments (tenant_email_attachments) the user chose to drop from THIS invoice's email. Mandatory fixed attachments are never in this list.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Invoice UUID
Responses
Section titled “Responses”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.