使用此端点,可以将银行交易添加到新的银行对帐单或现有的对帐单中。
是创建新语句还是使用现有语句取决于 statementName 参数。如果指定名称引用现有的银行对帐单,则将使用该名称,并将提供的交易记录添加到现有的银行对帐单,否则将创建新的对帐单。如果您不这样做,请确保使用唯一的银行对帐单名称’不想在现有语句中添加行。
请注意,与“清晰图书”的“货币”部分中提供的银行对帐单导入功能不同,此方法赢得了’检查交易的唯一性。例如。两次发布同一笔交易(无论是否’在同一请求或不同请求中)将导致该交易被多次添加。
您可能还需要看一下 listBankAccounts 方法,该方法会在其他数据中返回现有银行帐户的帐户代码(gl_account_code),需要在 银行账户 此方法的字段。
领域 | 类型 | 描述 | |
---|---|---|---|
bankAccount | integer | 银行帐户的帐户代码(例如:7502001)。请看看 listBankAccounts 如果要检索现有银行帐户的列表。 | required |
statementName | string | 银行对帐单的名称。如果指定现有语句的名称,则将事务添加到该语句,否则将创建新的语句。 | optional |
statementLines | array | 银行对帐单交易清单。 | optional |
BankStatementLine说明 | string | 交易的描述。 | optional |
BankStatementLine日期 | string | 交易的银行日期(以YYYY-MM-DD格式指定)。 | optional |
BankStatementLine金额 | float | 交易金额。 | optional |
领域 | 类型 | 描述 | |
---|---|---|---|
此方法不返回任何参数。 |
<?xml version="1.0" 恩 coding="UTF-8"?> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header> <authenticate xmlns="//secure.gfxscope.com/api/accounting/soap/"> <apiKey xmlns="">yourApiKey</apiKey> </authenticate> </Header> <Body> <addBankStatementLines xmlns="//secure.gfxscope.com/api/accounting/soap/"> <bankAccount>7502001</bankAccount> <statementName>apiStatement</statementName> <statementLines> <BankStatementLine> <description>test1</description> <date>2017-12-01</date> <amount>200.24</amount> </BankStatementLine> <BankStatementLine> <description>test2</description> <date>2017-12-02</date> <amount>-56.43</amount> </BankStatementLine> </statementLines> </addBankStatementLines> </Body> </Envelope> |
<?xml version="1.0" 恩 coding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body/> </SOAP-ENV:Envelope> |
清除书籍自豪地向金融行为监管局注册为帐户信息服务提供商(注册号843585)。