Advertisement
BlackBoY_

dev UpdateJournalEntry KAFE

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