说明 Financial/Entries 的借方或贷方?
Stating Debit or Credit for Financial/Entries?
我正在通过 Exact Online 的 Rest API 插入新条目。但是,我似乎无法找到一种方法来说明哪些金额是借方或贷方。我认为根据您用于条目的 GLAccount,该金额会自动更改为借方或贷方。正如您在下面的代码示例中看到的,描述为“APITESTDEBIT2”的条目行具有带借记类型的 GLAccount。另一行是信用类型。
我在 POST:
时收到这个 500 服务器错误
This entry is not balanced on: 2021 / 12 (Type: Other) - Difference: EUR 1.000,00
{
"EntryID" : "xxx", ---> Generated GUID
"JournalCode" : "900",
"GeneralJournalEntryLines": [
{
"Date" : "2021-12-27",
"Description" : "APITESTDEBIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (debit)
"AmountFC" : 500
},
{
"Date" : "2021-12-27",
"Description" : "APITESTCREDIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (credit)
"AmountFC" : 500
}
]
}
感谢@fredrik,您可以通过正数或负数来识别贷方或借方。
正数 = 借方
负数 = 信用
{
"EntryID" : "xxx", ---> Generated GUID
"JournalCode" : "900",
"GeneralJournalEntryLines": [
{
"Date" : "2021-12-27",
"Description" : "APITESTDEBIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (debit)
"AmountFC" : 500 --> this is debit
},
{
"Date" : "2021-12-27",
"Description" : "APITESTCREDIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (credit)
"AmountFC" : -500 --> this is credit
}
]
}
我正在通过 Exact Online 的 Rest API 插入新条目。但是,我似乎无法找到一种方法来说明哪些金额是借方或贷方。我认为根据您用于条目的 GLAccount,该金额会自动更改为借方或贷方。正如您在下面的代码示例中看到的,描述为“APITESTDEBIT2”的条目行具有带借记类型的 GLAccount。另一行是信用类型。
我在 POST:
时收到这个 500 服务器错误This entry is not balanced on: 2021 / 12 (Type: Other) - Difference: EUR 1.000,00
{
"EntryID" : "xxx", ---> Generated GUID
"JournalCode" : "900",
"GeneralJournalEntryLines": [
{
"Date" : "2021-12-27",
"Description" : "APITESTDEBIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (debit)
"AmountFC" : 500
},
{
"Date" : "2021-12-27",
"Description" : "APITESTCREDIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (credit)
"AmountFC" : 500
}
]
}
感谢@fredrik,您可以通过正数或负数来识别贷方或借方。
正数 = 借方
负数 = 信用
{
"EntryID" : "xxx", ---> Generated GUID
"JournalCode" : "900",
"GeneralJournalEntryLines": [
{
"Date" : "2021-12-27",
"Description" : "APITESTDEBIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (debit)
"AmountFC" : 500 --> this is debit
},
{
"Date" : "2021-12-27",
"Description" : "APITESTCREDIT2",
"EntryID" : "xxx", --> reference to generated GUID
"GLAccount" : "xxx", --> GLAccount GUID (credit)
"AmountFC" : -500 --> this is credit
}
]
}