# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors and contributors
# For license information, please see license.txt


from frappe.model.document import Document


class JournalEntryAccount(Document):
	# begin: auto-generated types
	# This code is auto-generated. Do not modify anything in this block.

	from typing import TYPE_CHECKING

	if TYPE_CHECKING:
		from frappe.types import DF

		account: DF.Link
		account_currency: DF.Link | None
		account_type: DF.Data | None
		advance_voucher_no: DF.DynamicLink | None
		advance_voucher_type: DF.Link | None
		against_account: DF.Text | None
		bank_account: DF.Link | None
		cost_center: DF.Link | None
		credit: DF.Currency
		credit_in_account_currency: DF.Currency
		debit: DF.Currency
		debit_in_account_currency: DF.Currency
		exchange_rate: DF.Float
		is_advance: DF.Literal["No", "Yes"]
		is_tax_withholding_account: DF.Check
		parent: DF.Data
		parentfield: DF.Data
		parenttype: DF.Data
		party: DF.DynamicLink | None
		party_type: DF.Link | None
		project: DF.Link | None
		reference_detail_no: DF.Data | None
		reference_due_date: DF.Date | None
		reference_name: DF.DynamicLink | None
		reference_type: DF.Literal[
			"",
			"Sales Invoice",
			"Purchase Invoice",
			"Journal Entry",
			"Sales Order",
			"Purchase Order",
			"Expense Claim",
			"Asset",
			"Loan",
			"Payroll Entry",
			"Employee Advance",
			"Exchange Rate Revaluation",
			"Invoice Discounting",
			"Fees",
			"Full and Final Statement",
			"Payment Entry",
			"Bank Transaction",
		]
		user_remark: DF.SmallText | None
	# end: auto-generated types

	pass
