I am trying to attach a document to an invoice. It throws the error. The tenant id, invoice id are correct. Exception when calling AccountingApi->createInvoiceAttachmentByFileName: [401] Client …
Tag: xero-api
add an attachment in Xero using php Xero api
Can anyone help me add a pdf to a Xero Invoice using the official (non calcanai) PHP SDK. I’m connected with oAuth2 and have previously created a draft invoice. I then update the invoice to Authorised and try to add an attachment to the invoice. At this point I am not getting any luck, the attachments is sent but comes
creating an invoice using OAuth2 in xero
I am following along with the code samples provided here – https://github.com/XeroAPI/xero-php-oauth2/blob/master/docs/Api/AccountingApi.md#createInvoice However, i am always receiving the following error message: “ErrorNumber”: 17, “Type”: “NoDataProcessedException”, “Message”: “No data has been processed for this endpoint. This endpoint is expecting Invoice data to be specifed in the request body.” Any ideas why this is the case. I have added quotes around the