{

"invoiceName": "Create Document",
"reference": "reference Document",
"publishedOn": "2017-02-14T00:00:00Z",
"CreditDays": 0,
"DueDate": "2017-02-14T00:00:00Z",
"Status": 5,
"IsVat": "true",
"vATRate": "7",
"IsDicountAsPercentage": false,
"Discount": 0.00,
"DiscountPercentage": 0.00,
"DocumentSerialPOS": "test document serial pos",
"Remarks": "remark Document",
"InternalNotes":"Test internal note",
"ClientName": "flowaccount Document",
"ClientAddress": "155",
"ClientAddressLine2": "dfdf2",
"ClientAddressLine3": "dfdf3",
"ClientTaxId": "12345-66666-777",
"ClientBranch": "branch name",
"ContactNumber": "0911111111",
"ContactPerson": "kriangsak_tak",
"ContactEmail": "public-api-uteeni@flowaccount.com",
"salesName": "public-api-uteeni@flowaccount.com",
"Total": 102.72,
"ProductItems": [{
        "Name": "product Document 1",
        "PricePerUnit": 30.00,
        "Quantity": 1.00,
        "Description": "description product 1 update Document",
        "Barcode": "barcode-*859",
        "Productcode": "sku-11111",
        "No": 0,
        "Type": 3
    },
    {
        "Name": "product Document 2",
        "PricePerUnit": 15.00,
        "Quantity": 10.00,
        "Description": "description product 2 update Document",
        "Barcode": "77-658s5df",
        "Productcode": "sku-0000001",
        "No": 1,
        "Type": 3
    }
],
"MethodPayment": 5,
"DatePayment": "2017-02-14T00:00:00Z",
"CheckDatePaid " : "2017-02-14T00:00:00Z",
"TransferBankId": "",
"CheckBankId" : "Name bank",
"CheckNumber": "1234",
"WithHeld": 11,
"Collected": 20.00,
"Tax": 3,
"Charge": 20.00,
"PaymentRemarks": "test paymentRemarks"

}