Advertisement
BlackBoY_

dev CreateJournalEntry KAFE

Jan 2nd, 2024
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.64 KB | None | 0 0
  1. {
  2.     "voucher_type": "Journal Entry",
  3.     "company": "Kopkar Toyota",
  4.     "posting_date": "2023-12-26",
  5.     "cheque_no": "INV-2023-00001",
  6.     "cheque_date": "2023-12-26",
  7.     "difference": 0.0,
  8.     "multi_currency": 0,
  9.     "total_amount_currency": "IDR",
  10.     "accounts": [
  11.         {
  12.             "account": "510-11",
  13.             // "account_type": "Receivable",
  14.             // "party_type": "Customer",
  15.             // "party": "Anggota",
  16.             "cost_center": "Main - Kopkar Toyota",
  17.             "account_currency": "IDR",
  18.             "exchange_rate": 1.0,
  19.             "debit_in_account_currency": 4000000000.0,
  20.             "debit": 4000000000.0,
  21.             "credit_in_account_currency": 0.0,
  22.             "credit": 0.0,
  23.             "is_advance": "No",
  24.             "against_account": "Family Mart",
  25.             "parentfield": "accounts",
  26.             "parenttype": "Journal Entry",
  27.             "doctype": "Journal Entry Account"
  28.         },
  29.         {
  30.             "account": "148-01",
  31.             // "account_type": "Payable",
  32.             // "party_type": "",
  33.             // "party": "",
  34.             "party_balance": 0.0,
  35.             "cost_center": "Main - Kopkar Toyota",
  36.             "account_currency": "IDR",
  37.             "exchange_rate": 1.0,
  38.             "debit_in_account_currency": 0.0,
  39.             "debit": 0.0,
  40.             "credit_in_account_currency": 4000000000.0,
  41.             "credit": 4000000000.0,
  42.             "is_advance": "No",
  43.             "against_account": "Anggota",
  44.             "parentfield": "accounts",
  45.             "parenttype": "Journal Entry",
  46.             "doctype": "Journal Entry Account"
  47.         }
  48.     ]
  49. }
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement