Xero · Example Payload

Xero Createinvoiceattachmentbyfilename Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createinvoiceattachmentbyfilename Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createInvoiceAttachmentByFileName",
  "method": "PUT",
  "path": "/Invoices/{InvoiceID}/Attachments/{FileName}",
  "summary": "Xero Creates an attachment for a specific invoice or purchase bill by filename",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "971fbd18-c850-453a-825f-63f2fee096ee",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552330001318)/",
        "Attachments": [
          {
            "AttachmentID": "5a500c1a-5a02-48de-939e-1d234fd170d4",
            "FileName": "sample5.jpg",
            "Url": "https://api.xero.com/api.xro/2.0/Invoices/4074292c-09b3-456d-84e7-add864c6c39b/Attachments/sample5.jpg",
            "MimeType": "image/jpg",
            "ContentLength": 2878711
          }
        ]
      }
    }
  ]
}