Get A/R Receive Payment
- Request Instruction
HTTPS Method POST URL http://subdomain.supersuite.my/api/ar-receive-payment/get-detail/<ref_id> Content Type application/json Response Type JSON Parameter Description ref_id : string is required.
token: string is required.
Request Headers {
"Content-Type":"application/json"
}
Request Body {
"token" : "B7ABD5DEEC6588997DE41B0FE0665"
}
- Response JSON Format
Successful Example {
"status" : true,
"data" :
[
{
"ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",
"branch_ref_id" : "BB31CD0066F81E3C27674B1BB8BC7F",
"doc_no" : "OR-00001",
"number_format_ref_id" : "NN31CD0066F81E3C27674B1BB8BC7F",
"date" : "2020-01-14",
"debtor_account_number" : "300-F001",
"project_id" : "1",
"department_id" : "",
"description" : "Deposit Payment",
"second_voucher_code" : "",
"amount" : "80.00",
"unapplied_payment" : "0.00",
"refund_amount" : "0.00",
"remark" : "",
"payments" : [
{
"payment_method_ref_id" : "PPC1CD0066F81E3C27674B1BB8BC7F",
"chart_account_number" : "310-1000",
"department_id" : "",
"project_id" : "",
"cheque_number" : "",
"payment_amount" : "80.00",
"bank_charge" : "10.00",
"tax_code_ref_id" : "TTC1CD0066F81E3C27674B1BB8BC7F",
"tax_rate" : "6.00",
"tax_amount" : "0.60",
"bank_charge_bill_number" : "",
"float_day" : "1",
"payment_by" : "Alex",
"is_rchq" : "off",
"rchq_date" : "",
}
],
"knock_offs" : [
{
"ref_id" : "RRC1CD0066F81E3C27674B1BB8BC7F",
"type" : "ARI",
"date" : "2019-12-12",
"doc_no" : "I-00001",
"supplier_no" : "",
"org_amount" : "100.00",
"outstanding" : "20.00",
"discount_due" : "",
"with_disc" : "off",
"amount" : "80.00",
"knock_off_date" : "2020-01-14",
}
]
}
]
}
Fail Example {
"status" : false,
"error" : "Token invalid. / Document does not existing."
}
- Remark Property
Is RCHQ Only Accept : on, off
With Disc Only Accept : on, off