Tax Invoice

Base64 attachment tax Invoices document.

แนบไฟล์ รูปภาพ หรือ เอกสารที่เกี่ยวข้องในรูปแบบ base64 ในเอกสารใบกำกับภาษี หรือ ใบกำกับภาษี/ใบเสร็จรับเงิน ตามเลขที่เอกสารที่ต้องการ

post/tax-invoices/{id}/attachment/base64

Request

Path parameters

idstring required

documentId หรือ recordId ของเอกสารที่ต้องการแนบ

Headers

Authorizationstring required

Request body

Example request

{
  "files": [
    {
      "fileName": "document.pdf",
      "base64Data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAg..."
    }
  ]
}

Response

200 response

statusboolean

action success

messagestring

error message

codeinteger

error code

Example response

{
  "data": [
    {
      "attachmentName": "document.pdf",
      "createdOn": "2021-01-01"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.