GET dz_api/Tax/InitTaxData?custId={custId}&period={period}

代账服务-根据客户和日期搜索报税进度

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

integer

Required

period

string

Required

Body Parameters

None.

Response Information

Resource Description

代账服务-根据客户和日期搜索报税进度

TaxRecordInfoWrapper
NameDescriptionTypeAdditional information
CustId

客户ID

integer

None.

Period

报税期间

date

None.

PushOnOrOff

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

boolean

None.

Total

合计

TaxRecordInfo

None.

Items

报税项目

Collection of TaxRecordInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "Period": "2024-03-29T15:09:29.9016644+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-03-29T15:09:29.9016644+08:00",
      "PushOnOrOff": true,
      "TaxAmount": 7.0,
      "Status": 8,
      "Note": "sample string 9",
      "CreatedBy": 10,
      "CreatedDate": "2024-03-29T15:09:29.9016644+08:00",
      "ModifiedBy": 12,
      "ModifiedDate": "2024-03-29T15:09:29.9016644+08:00"
    },
    {
      "AaId": 1,
      "CustId": 2,
      "TaxTypeId": 3,
      "TaxTypeName": "sample string 4",
      "Period": "2024-03-29T15:09:29.9016644+08:00",
      "PushOnOrOff": true,
      "TaxAmount": 7.0,
      "Status": 8,
      "Note": "sample string 9",
      "CreatedBy": 10,
      "CreatedDate": "2024-03-29T15:09:29.9016644+08:00",
      "ModifiedBy": 12,
      "ModifiedDate": "2024-03-29T15:09:29.9016644+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-03-29T15:09:29.9016644+08:00</CreatedDate>
      <CustId>2</CustId>
      <ModifiedBy>12</ModifiedBy>
      <ModifiedDate>2024-03-29T15:09:29.9016644+08:00</ModifiedDate>
      <Note>sample string 9</Note>
      <Period>2024-03-29T15:09:29.9016644+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-03-29T15:09:29.9016644+08:00</CreatedDate>
      <CustId>2</CustId>
      <ModifiedBy>12</ModifiedBy>
      <ModifiedDate>2024-03-29T15:09:29.9016644+08:00</ModifiedDate>
      <Note>sample string 9</Note>
      <Period>2024-03-29T15:09:29.9016644+08:00</Period>
      <PushOnOrOff>true</PushOnOrOff>
      <Status>8</Status>
      <TaxAmount>7</TaxAmount>
      <TaxTypeId>3</TaxTypeId>
      <TaxTypeName>sample string 4</TaxTypeName>
    </TaxRecordInfo>
  </Items>
  <Period>2024-03-29T15:09:29.9016644+08:00</Period>
  <PushOnOrOff>true</PushOnOrOff>
</TaxRecordInfoWrapper>