|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
我用NC外部平台接口导入应收单据,按照模板设置,金额在借方,可NC返回错误
<?xml version="1.0" encoding='UTF-8'?>
<ufinterface billtype="D0" filename="salewhl20121212.xml" isexchange="Y" proc="add" receiver="1@1-0002" replace="Y" roottag="sendresult" sender="1102" successful="N">
<sendresult>
<billpk>
</billpk>
<bdocid>SS-2012-05-00230</bdocid>
<filename>salewhl20121212.xml</filename>
<resultcode>-32000</resultcode>
<resultdescription>单据SS-2012-05-00230开始处理...
单据SS-2012-05-00230处理错误:业务插件处理错误:插件类=nc.bs.arap.pfxx.ARAPPlugin,异常信息:价税合计与税金及无税金额不符</resultdescription>
<content></content>
</sendresult>
</ufinterface>
如果把金额改到贷方,就到人员成功,但是单据出现在应付单据里
<?xml version="1.0" encoding="UTF-8" ?>
<ufinterface roottag="voucher" billtype="D0" subtype="run" replace="y"
receiver="1" sender="1102" proc="add" isexchange="Y" filename="salewhl20121212.xml">
<voucher id="SS-2012-05-00230">
<voucher_head>
<djdl>ys</djdl>
<prepay>n</prepay>
<corp>1</corp>
<businessType>D0</businessType>
<billDate>2012-05-23</billDate>
<sysid>0</sysid>
<initFlag>n</initFlag>
<inputOp>物流</inputOp>
<saleType>ap04</saleType>
<payCorp>100000100031</payCorp>
<subject>发出商品</subject>
<scomment></scomment>
<appendix>1</appendix>
<original_sum>360</original_sum>
<fractional_sum>0</fractional_sum>
<local_sum>360</local_sum>
<billstatus>1</billstatus>
<checkman>财务</checkman>
<zgys>1</zgys>
</voucher_head>
<voucher_body>
<entry>
<sum_direction>1</sum_direction>
<digest>北京贰佰发出商品</digest>
<subject>发出商品</subject>
<customer>100000100031</customer>
<currencyId>CNY</currencyId>
<original_exchange_rate>1</original_exchange_rate>
<fractional_exchange_rate>1</fractional_exchange_rate>
<debit_original_sum>360</debit_original_sum>
<debit_fractional_sum>0</debit_fractional_sum>
<debit_local_sum>360</debit_local_sum>
<original_balance>360</original_balance>
<fractional_balance>0</fractional_balance>
<local_balance>360</local_balance>
<quantity_balance>1</quantity_balance>
<inventoryId></inventoryId>
<debit_quantity>1</debit_quantity>
<credit_quantity>0</credit_quantity>
<unit_price>307.69</unit_price>
<tax_rate>17</tax_rate>
<orderId>SS-2012-05-00230</orderId>
<note_num>SS-2012-05-00230</note_num>
<check_date>2012-05-23</check_date>
<incomeFlag>y</incomeFlag>
<accsubjId></accsubjId>
<credit_original_sum>0</credit_original_sum>
<credit_frac_sum>0</credit_frac_sum>
<credit_local_sum>0</credit_local_sum>
<credit_original_Tax>0</credit_original_Tax>
<credit_frac_Tax>0</credit_frac_Tax>
<credit_local_Tax>0</credit_local_Tax>
<debit_original_Tax>52.31</debit_original_Tax>
<debit_frac_Tax>0</debit_frac_Tax>
<debit_local_Tax>52.31</debit_local_Tax>
<object>0</object>
<debit_original_noTax>307.69</debit_original_noTax>
<debit_frac_noTax>0</debit_frac_noTax>
<debit_local_noTax>307.69</debit_local_noTax>
<credit_original_noTax>0</credit_original_noTax>
<credit_frac_noTax>0</credit_frac_noTax>
<credit_local_noTax>0</credit_local_noTax>
<unit_price_WithTax>360</unit_price_WithTax>
<Tax_Type>0</Tax_Type>
</entry>
</voucher_body>
</voucher>
</ufinterface>
这是发送的文件,有做过NC外部接口的朋友给看看错在那里吗
|
|