POST api/Tax/SellerInfo/AddOrUpdate
新增或修改一个发票销方配置信息
Request Information
URI Parameters
None.
Body Parameters
TaxSellerInfoAddOrUpdateParmName | Description | Type | Additional information |
---|---|---|---|
BusiType |
业务类型 |
string |
Required Max length: 2 |
ShopId |
门店ID |
string |
Max length: 4 |
SellerName |
销方名称 |
string |
Required Max length: 20 |
SellerTaxNum |
销方税号 |
string |
Required Max length: 20 |
SellerBankNum |
销方银行账户 |
string |
Required Max length: 100 |
SellerAddress |
销方地址 |
string |
Required Max length: 80 |
SellerPhone |
销方电话 |
string |
Required Max length: 20 |
Status |
启用状态 |
string |
Required Max length: 1 |
Clerk |
开票人 |
string |
Required Max length: 20 |
TerminalNo |
终端号 |
string |
Max length: 3 |
Payee |
收款人 |
string |
Max length: 20 |
Checker |
复核人 |
string |
Max length: 20 |
DetailType |
清单标志 |
string |
Max length: 1 |
IssueType |
开据类型标志 |
string |
Max length: 1 |
TaxDiscId |
主分机号 |
string |
Required Max length: 3 |
ImageType |
是否生成发票影像 |
string |
Max length: 1 |
ClerkId |
开票员ID |
string |
Max length: 32 |
Op |
操作类型--'A'新增,'U'修改 |
string |
Required Max length: 1 |
Request Formats
application/json, text/json
Sample:
{ "BusiType": "sample string 1", "ShopId": "sample string 2", "SellerName": "sample string 3", "SellerTaxNum": "sample string 4", "SellerBankNum": "sample string 5", "SellerAddress": "sample string 6", "SellerPhone": "sample string 7", "Status": "sample string 8", "Clerk": "sample string 9", "TerminalNo": "sample string 10", "Payee": "sample string 11", "Checker": "sample string 12", "DetailType": "sample string 13", "IssueType": "sample string 14", "TaxDiscId": "sample string 15", "ImageType": "sample string 16", "ClerkId": "sample string 17", "Op": "sample string 18" }
application/xml, text/xml
Sample:
<TaxSellerInfoAddOrUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Tax"> <BusiType>sample string 1</BusiType> <Checker>sample string 12</Checker> <Clerk>sample string 9</Clerk> <ClerkId>sample string 17</ClerkId> <DetailType>sample string 13</DetailType> <ImageType>sample string 16</ImageType> <IssueType>sample string 14</IssueType> <Op>sample string 18</Op> <Payee>sample string 11</Payee> <SellerAddress>sample string 6</SellerAddress> <SellerBankNum>sample string 5</SellerBankNum> <SellerName>sample string 3</SellerName> <SellerPhone>sample string 7</SellerPhone> <SellerTaxNum>sample string 4</SellerTaxNum> <ShopId>sample string 2</ShopId> <Status>sample string 8</Status> <TaxDiscId>sample string 15</TaxDiscId> <TerminalNo>sample string 10</TerminalNo> </TaxSellerInfoAddOrUpdateParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
新增或修改一个发票销方配置信息
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.