Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.33 KB

create-invoice-attachment-response.md

File metadata and controls

52 lines (43 loc) · 1.33 KB

Create Invoice Attachment Response

Represents a CreateInvoiceAttachment response.

Structure

Create Invoice Attachment Response

Fields

Name Type Tags Description
attachment Invoice Attachment Hash Optional Represents a file attached to an invoice.
errors Array<Error Hash> Optional Information about errors encountered during the request.

Example (as JSON)

{
  "attachment": {
    "description": "Service contract",
    "filename": "file.jpg",
    "filesize": 102705,
    "hash": "273ee02cb6f5f8a3a8ca23604930dd53",
    "id": "inva:0-3bB9ZuDHiziThQhuC4fwWt",
    "mime_type": "image/jpeg",
    "uploaded_at": "2023-02-03T20:28:14Z"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}