GET
/
getInvoiceHeaderBlocks
getInvoiceHeaderBlocks
curl --request GET \
  --url https://app.ezzydoc.com/EzzyService.svc/Rest/getInvoiceHeaderBlocks
{
  "service_status": {
    "invoice_id": 123,
    "message": "<string>",
    "status": 0
  },
  "invoiceForm": {
    "ABNnumber": "<string>",
    "bankAccount": "<string>",
    "bankBranch": "<string>",
    "bankReference": "<string>",
    "chargeTotal": 123,
    "discountTotal": 123,
    "docType": 0,
    "gstTotal": 123,
    "invoiceDate": "<string>",
    "invoiceNumber": "<string>",
    "invoiceTotal": 123,
    "paymentDate": "<string>",
    "purchaseOrder": "<string>",
    "RefNumber": "<string>",
    "subTotal": 123,
    "supplierName": "<string>",
    "tag": "<string>"
  },
  "list": [
    {
      "header": 123,
      "height": 123,
      "page": 123,
      "text": "<string>",
      "width": 123,
      "x": 123,
      "y": 123
    }
  ],
  "table": [
    {
      "article_code": "<string>",
      "description": "<string>",
      "description2": "<string>",
      "gl_code": "<string>",
      "gst": 123,
      "quantity": 123,
      "row_height": 123,
      "row_page": 123,
      "row_y": 123,
      "tax_code": "<string>",
      "total": 123,
      "total_excl": 123,
      "total_incl": 123,
      "tracking": "<string>",
      "unit_measure": "<string>",
      "unit_price": 123,
      "approver_name": "<string>",
      "is_approved": 123
    }
  ]
}

Query Parameters

APIKey
string
required
invoiceid
integer
required

Response

Success

service_status
object
invoiceForm
object
list
object[]
table
object[]