A new parameter “includeAttachmentInvoiceEmail” is now available on the following endpoints:
POST v1/CustomerInvoice/{invoiceNumber}/attachment
POST v1/CustomerInvoice/{invoiceNumber}/{lineNumber}attachment
POST v1/CustomerCreditNote/{CreditNoteNumber}/attachment
POST v1/CustomerCreditNote/{CreditNoteNumber}/{lineNumber}attachment
POST v1/CustomerDebitNote/{DebitNoteNumber}/attachment
POST v1/CustomerDebitNote/{DebitNoteNumber}/{lineNumber}attachment
This can be used by third party integrators to mark the attachments to be sent in the sales invoice email.