POST dz_api/Tax/UpdateDeclareTax

代账服务-更新报税进度

Request Information

URI Parameters

None.

Body Parameters

TaxRecordInfoWrapper
NameDescriptionTypeAdditional information
CustId

客户ID

integer

None.

Period

报税期间

date

None.

PushOnOrOff

是否完成报税(是否微信推送)

boolean

None.

Total

合计

TaxRecordInfo

None.

Items

报税项目

Collection of TaxRecordInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "Period": "2024-04-19T20:38:17.7609377+08:00",
  "PushOnOrOff": true,
  "Total": {
    "AaId": 0,
    "CustId": 0,
    "TaxTypeId": 0,
    "TaxTypeName": "合计",
    "Period": "0001-01-01T00:00:00",
    "PushOnOrOff": false,
    "TaxAmount": 14.0,
    "Status": 0,
    "Note": null,
    "CreatedBy": 0,
    "CreatedDate": "0001-01-01T00:00:00",
    "ModifiedBy": 0,
    "ModifiedDate": "0001-01-01T00:00:00"
  },
  "Items": [
    {
      "AaId": 1,
      "CustId": 2,
      "TaxTypeId": 3,
      "TaxTypeName": "sample string 4",
      "Period": "2024-04-19T20:38:17.7609377+08:00",
      "PushOnOrOff": true,
      "TaxAmount": 7.0,
      "Status": 8,
      "Note": "sample string 9",
      "CreatedBy": 10,
      "CreatedDate": "2024-04-19T20:38:17.7609377+08:00",
      "ModifiedBy": 12,
      "ModifiedDate": "2024-04-19T20:38:17.7609377+08:00"
    },
    {
      "AaId": 1,
      "CustId": 2,
      "TaxTypeId": 3,
      "TaxTypeName": "sample string 4",
      "Period": "2024-04-19T20:38:17.7609377+08:00",
      "PushOnOrOff": true,
      "TaxAmount": 7.0,
      "Status": 8,
      "Note": "sample string 9",
      "CreatedBy": 10,
      "CreatedDate": "2024-04-19T20:38:17.7609377+08:00",
      "ModifiedBy": 12,
      "ModifiedDate": "2024-04-19T20:38:17.7609377+08:00"
    }
  ]
}

application/xml, text/xml

Sample:
<TaxRecordInfoWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Aa">
  <CustId>1</CustId>
  <Items>
    <TaxRecordInfo>
      <AaId>1</AaId>
      <CreatedBy>10</CreatedBy>
      <CreatedDate>2024-04-19T20:38:17.7609377+08:00</CreatedDate>
      <CustId>2</CustId>
      <ModifiedBy>12</ModifiedBy>
      <ModifiedDate>2024-04-19T20:38:17.7609377+08:00</ModifiedDate>
      <Note>sample string 9</Note>
      <Period>2024-04-19T20:38:17.7609377+08:00</Period>
      <PushOnOrOff>true</PushOnOrOff>
      <Status>8</Status>
      <TaxAmount>7</TaxAmount>
      <TaxTypeId>3</TaxTypeId>
      <TaxTypeName>sample string 4</TaxTypeName>
    </TaxRecordInfo>
    <TaxRecordInfo>
      <AaId>1</AaId>
      <CreatedBy>10</CreatedBy>
      <CreatedDate>2024-04-19T20:38:17.7609377+08:00</CreatedDate>
      <CustId>2</CustId>
      <ModifiedBy>12</ModifiedBy>
      <ModifiedDate>2024-04-19T20:38:17.7609377+08:00</ModifiedDate>
      <Note>sample string 9</Note>
      <Period>2024-04-19T20:38:17.7609377+08:00</Period>
      <PushOnOrOff>true</PushOnOrOff>
      <Status>8</Status>
      <TaxAmount>7</TaxAmount>
      <TaxTypeId>3</TaxTypeId>
      <TaxTypeName>sample string 4</TaxTypeName>
    </TaxRecordInfo>
  </Items>
  <Period>2024-04-19T20:38:17.7609377+08:00</Period>
  <PushOnOrOff>true</PushOnOrOff>
</TaxRecordInfoWrapper>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

代账服务-更新报税进度

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>