{
"cash": [
// NOTE: contains the list of cash account available for cash payment method.
{
"code": 1,
"name": "CA00001 - Cash account 1"
},
{
"code": 2,
"name": "CA00002 - Cash account 2"
}
],
"credit_card": [
// NOTE: contains the list of cash account available for credit card method.
{
"code": 3,
"name": "CA02001 - Credit card 1"
},
{
"code": 4,
"name": "CA02002 - Credit card 2"
}
],
"debit_card": [
// NOTE: contains the list of cash account available for debit card method.
{
"code": 5,
"name": "CA03001 - Debit card 1"
},
{
"code": 6,
"name": "CA03002 - Debit card 2"
}
],
// NOTE: In case of unavailable methods, please leave them as the empty arrays.
"money_transfer": [
{
"code": 7,
"name": "CA04001 - Money transfer 1"
},
{
"code": 8,
"name": "CA04002 - Money transfer 2"
}
],
"note_receivable": [
{
"code": 9,
"name": "CA05001 - Note Receivable 1"
},
{
"code": 10,
"name": "CA05002 - Note Receivable 2"
}
],
"note_payable": [
{
"code": 11,
"name": "CA06001 - Note Payable 1"
},
{
"code": 12,
"name": "CA06002 - Note Payable 2"
}
],
"withholding_tax": [
{
"code": 13,
"name": "CA07001 - Withholding Tax 1"
},
{
"code": 14,
"name": "CA07002 - Withholding Tax 2"
}
],
}
The Sample API Response
Module name: Cash accounts under a company
Sample view: Response
** Request **
URL: "api/company/<id>/cash-accounts/" where <id> is the ID of company
Request Method: GET
Module name: Cash accounts under a company
Sample view: Response
** Request **
URL: "api/company/<id>/cash-accounts/" where <id> is the ID of company
Request Method: GET
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.