POST api/{area}/Journal?access_token={access_token}&asId={asId}
新增日记账记录
Request Information
Body Parameters
JournalParamsName | Description | Type | Additional information |
---|---|---|---|
AS_ID |
账套id |
string |
None. |
J_TYPE |
账户类型,1010:现金,1020:银行 |
string |
None. |
CD_ACCOUNT |
账户id |
string |
None. |
LINE_SN |
行号,每账户日期内递增唯一 |
string |
None. |
CD_DATE |
日期 |
string |
None. |
DESCRIPTION |
摘要 |
string |
None. |
IE_TYPE |
收支类别 |
string |
None. |
INCOME |
收入 |
string |
None. |
EXPENDITURE |
支出 |
string |
None. |
OPPOSITE_PARTY |
往来单位 |
string |
None. |
OPPOSITE_PARTY_NO |
往来账号 |
string |
None. |
OPPOSITE_PARTY_USCC |
往来单位纳税人识别号 |
string |
None. |
OPPOSITE_PARTY_INT |
选择的辅助核算id |
string |
None. |
PAYMENT_METHOD |
结算方式 |
string |
None. |
RECEIPT_NO |
票据号 |
string |
None. |
NOTE |
备注 |
string |
None. |
P_ID |
凭证期间id |
string |
None. |
V_ID |
凭证id |
string |
None. |
CREATED_DATE |
创建时间 |
string |
None. |
OPPOSITE_ACCOUNT_NAME | string |
None. |
|
OPPOSITE_ACCOUNT_NO | string |
None. |
|
Index |
数据编号 |
integer |
None. |
DEPARTMENT |
辅助核算部门 |
string |
None. |
PROJECT |
辅助核算项目 |
string |
None. |
INCOME_STANDARD |
本位币收入 |
string |
None. |
EXPENDITURE_STANDARD |
本位币支出 |
string |
None. |
FC_RATE |
汇率 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AS_ID": "sample string 1", "J_TYPE": "sample string 2", "CD_ACCOUNT": "sample string 3", "LINE_SN": "sample string 4", "CD_DATE": "sample string 5", "description": "sample string 6", "IE_TYPE": "sample string 7", "income": "sample string 8", "expenditure": "sample string 9", "OPPOSITE_PARTY": "sample string 10", "OPPOSITE_PARTY_NO": "sample string 11", "OPPOSITE_PARTY_USCC": "sample string 12", "OPPOSITE_PARTY_INT": "sample string 13", "PAYMENT_METHOD": "sample string 14", "RECEIPT_NO": "sample string 15", "note": "sample string 16", "P_ID": "sample string 17", "V_ID": "sample string 18", "CREATED_DATE": "sample string 19", "OPPOSITE_ACCOUNT_NAME": "sample string 20", "OPPOSITE_ACCOUNT_NO": "sample string 21", "index": 22, "department": "sample string 23", "project": "sample string 24", "INCOME_STANDARD": "sample string 25", "EXPENDITURE_STANDARD": "sample string 26", "FC_RATE": "sample string 27" }
application/xml, text/xml
Sample:
<JournalParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Models.Cashier"> <AS_ID>sample string 1</AS_ID> <CD_ACCOUNT>sample string 3</CD_ACCOUNT> <CD_DATE>sample string 5</CD_DATE> <CREATED_DATE>sample string 19</CREATED_DATE> <DEPARTMENT>sample string 23</DEPARTMENT> <DESCRIPTION>sample string 6</DESCRIPTION> <EXPENDITURE>sample string 9</EXPENDITURE> <EXPENDITURE_STANDARD>sample string 26</EXPENDITURE_STANDARD> <FC_RATE>sample string 27</FC_RATE> <IE_TYPE>sample string 7</IE_TYPE> <INCOME>sample string 8</INCOME> <INCOME_STANDARD>sample string 25</INCOME_STANDARD> <Index>22</Index> <J_TYPE>sample string 2</J_TYPE> <LINE_SN>sample string 4</LINE_SN> <NOTE>sample string 16</NOTE> <OPPOSITE_ACCOUNT_NAME>sample string 20</OPPOSITE_ACCOUNT_NAME> <OPPOSITE_ACCOUNT_NO>sample string 21</OPPOSITE_ACCOUNT_NO> <OPPOSITE_PARTY>sample string 10</OPPOSITE_PARTY> <OPPOSITE_PARTY_INT>sample string 13</OPPOSITE_PARTY_INT> <OPPOSITE_PARTY_NO>sample string 11</OPPOSITE_PARTY_NO> <OPPOSITE_PARTY_USCC>sample string 12</OPPOSITE_PARTY_USCC> <PAYMENT_METHOD>sample string 14</PAYMENT_METHOD> <PROJECT>sample string 24</PROJECT> <P_ID>sample string 17</P_ID> <RECEIPT_NO>sample string 15</RECEIPT_NO> <V_ID>sample string 18</V_ID> </JournalParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
新增日记账记录
ResponseModelOfStringName | Description | Type | Additional information |
---|---|---|---|
Result | boolean |
None. |
|
Msg | string |
None. |
|
Content | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.