Add attachment to InvoiceAsk AIpost https://api.getknit.dev/v1.0/accounting.invoice.attachment.uploadBody ParamstypestringenumrequiredINVOICEBILLAllowed:INVOICEBILLidstringrequiredId of invoicefileNamestringrequiredFilename should be with proper extension i.e. fileName.extensionfileContentstringFile content should be base64 encoded content of the file you are trying to upload.fileUrlstringif you are providing the file URL, you do not need to provide the contentcontentTypestringThe content-type of the document you are sending. When using a URL, this generally isn’t needed, as the responding server will deliver a content type. This should be included for encoded content.Click here to see examples - https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_typesResponses 200200 400400Updated 15 days ago