POST dz_api/Receipt/InitData?recId={recId}

获取付款信息(为添加或展示)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
recId

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取付款信息(为添加或展示)

ReceiptInfo
NameDescriptionTypeAdditional information
CustId

客户ID

integer

None.

CustName

客户名称

string

None.

RecDate

收款日期

date

None.

Receiver

收款人

integer

None.

ReceiverName

收款人

string

None.

RecAccId

收款账户

integer

None.

RecAccName

收款账户名称

string

None.

OfAmount

本次核销

decimal number

None.

RecAmount

实收金额

decimal number

None.

DiscAmount

优惠金额

decimal number

None.

PreAmount

本次预收金额

decimal number

None.

OfUsePre

是否使用了预收款核销 0,不是。1,是

boolean

None.

UsePreAmount

本次使用的预收款金额

decimal number

None.

IsCheked

是否已经审核

integer

None.

Note

备注

string

None.

RecContractItems

收费项目(平铺)

Collection of RecContractItemInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "CustName": "sample string 2",
  "RecDate": "2021-09-20T17:04:12.4057655+08:00",
  "Receiver": 4,
  "ReceiverName": "sample string 5",
  "RecAccId": 6,
  "RecAccName": "sample string 7",
  "OfAmount": 48.0,
  "RecAmount": 8.0,
  "DiscAmount": 9.0,
  "PreAmount": 10.0,
  "OfUsePre": true,
  "UsePreAmount": 12.0,
  "IsCheked": 13,
  "Note": "sample string 14",
  "RecContractItems": [
    {
      "IsFirstContractRow": true,
      "ContractItemCount": 2,
      "RecItemInfo": {
        "ContractId": 1,
        "Approved": true,
        "CustDeleted": true,
        "ContractNo": "sample string 4",
        "ServiceType": 5,
        "ContractTerm": "sample string 6",
        "ContractAmount": 7.0
      },
      "ContractItemInfo": {
        "RecItemId": 1,
        "ContractItemId": 2,
        "ChargeItemId": 3,
        "ItemAmount": 4.0,
        "StartPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "EndPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "EndPeriodRaw": "2021-09-20T17:04:12.4062919+08:00",
        "ContractStartPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "ContractEndPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "Receivable": 9.0,
        "ReceivableRaw": 9.0,
        "Price": 10.0,
        "Prices": [
          1.0,
          2.0
        ],
        "OfdAmount": 11.0,
        "OfAmount": 12.0,
        "RecTimely": true,
        "RecMonthes": [
          {
            "RecMonth": "2021-09-20T17:04:12.4062919+08:00",
            "Amount": 2.0
          },
          {
            "RecMonth": "2021-09-20T17:04:12.4062919+08:00",
            "Amount": 2.0
          }
        ]
      }
    },
    {
      "IsFirstContractRow": true,
      "ContractItemCount": 2,
      "RecItemInfo": {
        "ContractId": 1,
        "Approved": true,
        "CustDeleted": true,
        "ContractNo": "sample string 4",
        "ServiceType": 5,
        "ContractTerm": "sample string 6",
        "ContractAmount": 7.0
      },
      "ContractItemInfo": {
        "RecItemId": 1,
        "ContractItemId": 2,
        "ChargeItemId": 3,
        "ItemAmount": 4.0,
        "StartPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "EndPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "EndPeriodRaw": "2021-09-20T17:04:12.4062919+08:00",
        "ContractStartPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "ContractEndPeriod": "2021-09-20T17:04:12.4062919+08:00",
        "Receivable": 9.0,
        "ReceivableRaw": 9.0,
        "Price": 10.0,
        "Prices": [
          1.0,
          2.0
        ],
        "OfdAmount": 11.0,
        "OfAmount": 12.0,
        "RecTimely": true,
        "RecMonthes": [
          {
            "RecMonth": "2021-09-20T17:04:12.4062919+08:00",
            "Amount": 2.0
          },
          {
            "RecMonth": "2021-09-20T17:04:12.4062919+08:00",
            "Amount": 2.0
          }
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<ReceiptInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Receipt">
  <CustId>1</CustId>
  <CustName>sample string 2</CustName>
  <DiscAmount>9</DiscAmount>
  <IsCheked>13</IsCheked>
  <Note>sample string 14</Note>
  <OfUsePre>true</OfUsePre>
  <PreAmount>10</PreAmount>
  <RecAccId>6</RecAccId>
  <RecAccName>sample string 7</RecAccName>
  <RecAmount>8</RecAmount>
  <RecContractItems>
    <RecContractItemInfo>
      <ContractItemCount>2</ContractItemCount>
      <ContractItemInfo>
        <ChargeItemId>3</ChargeItemId>
        <ContractEndPeriod>2021-09-20T17:04:12.4062919+08:00</ContractEndPeriod>
        <ContractItemId>2</ContractItemId>
        <ContractStartPeriod>2021-09-20T17:04:12.4062919+08:00</ContractStartPeriod>
        <EndPeriod>2021-09-20T17:04:12.4062919+08:00</EndPeriod>
        <ItemAmount>4</ItemAmount>
        <OfAmount>12</OfAmount>
        <OfdAmount>11</OfdAmount>
        <Price>10</Price>
        <Prices xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </Prices>
        <RecItemId>1</RecItemId>
        <RecMonthes xmlns:d5p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
          <d5p1:ReceiptMonthInfo>
            <d5p1:Amount>2</d5p1:Amount>
            <d5p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d5p1:RecMonth>
          </d5p1:ReceiptMonthInfo>
          <d5p1:ReceiptMonthInfo>
            <d5p1:Amount>2</d5p1:Amount>
            <d5p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d5p1:RecMonth>
          </d5p1:ReceiptMonthInfo>
        </RecMonthes>
        <RecTimely>true</RecTimely>
        <Receivable>9</Receivable>
        <StartPeriod>2021-09-20T17:04:12.4062919+08:00</StartPeriod>
      </ContractItemInfo>
      <IsFirstContractRow>true</IsFirstContractRow>
      <RecItemInfo>
        <Approved>true</Approved>
        <ContractAmount>7</ContractAmount>
        <ContractId>1</ContractId>
        <ContractNo>sample string 4</ContractNo>
        <ContractTerm>sample string 6</ContractTerm>
        <CustDeleted>true</CustDeleted>
        <ServiceType>5</ServiceType>
      </RecItemInfo>
    </RecContractItemInfo>
    <RecContractItemInfo>
      <ContractItemCount>2</ContractItemCount>
      <ContractItemInfo>
        <ChargeItemId>3</ChargeItemId>
        <ContractEndPeriod>2021-09-20T17:04:12.4062919+08:00</ContractEndPeriod>
        <ContractItemId>2</ContractItemId>
        <ContractStartPeriod>2021-09-20T17:04:12.4062919+08:00</ContractStartPeriod>
        <EndPeriod>2021-09-20T17:04:12.4062919+08:00</EndPeriod>
        <ItemAmount>4</ItemAmount>
        <OfAmount>12</OfAmount>
        <OfdAmount>11</OfdAmount>
        <Price>10</Price>
        <Prices xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </Prices>
        <RecItemId>1</RecItemId>
        <RecMonthes xmlns:d5p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
          <d5p1:ReceiptMonthInfo>
            <d5p1:Amount>2</d5p1:Amount>
            <d5p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d5p1:RecMonth>
          </d5p1:ReceiptMonthInfo>
          <d5p1:ReceiptMonthInfo>
            <d5p1:Amount>2</d5p1:Amount>
            <d5p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d5p1:RecMonth>
          </d5p1:ReceiptMonthInfo>
        </RecMonthes>
        <RecTimely>true</RecTimely>
        <Receivable>9</Receivable>
        <StartPeriod>2021-09-20T17:04:12.4062919+08:00</StartPeriod>
      </ContractItemInfo>
      <IsFirstContractRow>true</IsFirstContractRow>
      <RecItemInfo>
        <Approved>true</Approved>
        <ContractAmount>7</ContractAmount>
        <ContractId>1</ContractId>
        <ContractNo>sample string 4</ContractNo>
        <ContractTerm>sample string 6</ContractTerm>
        <CustDeleted>true</CustDeleted>
        <ServiceType>5</ServiceType>
      </RecItemInfo>
    </RecContractItemInfo>
  </RecContractItems>
  <RecDate>2021-09-20T17:04:12.4057655+08:00</RecDate>
  <RecItems>
    <ReceiptItemInfo>
      <Approved>true</Approved>
      <ContractAmount>7</ContractAmount>
      <ContractId>1</ContractId>
      <ContractNo>sample string 4</ContractNo>
      <ContractTerm>sample string 6</ContractTerm>
      <CustDeleted>true</CustDeleted>
      <ServiceType>5</ServiceType>
      <ContractItems>
        <ReceiptContractItemInfo>
          <ChargeItemId>3</ChargeItemId>
          <ContractEndPeriod>2021-09-20T17:04:12.4062919+08:00</ContractEndPeriod>
          <ContractItemId>2</ContractItemId>
          <ContractStartPeriod>2021-09-20T17:04:12.4062919+08:00</ContractStartPeriod>
          <EndPeriod>2021-09-20T17:04:12.4062919+08:00</EndPeriod>
          <ItemAmount>4</ItemAmount>
          <OfAmount>12</OfAmount>
          <OfdAmount>11</OfdAmount>
          <Price>10</Price>
          <Prices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>1</d6p1:decimal>
            <d6p1:decimal>2</d6p1:decimal>
          </Prices>
          <RecItemId>1</RecItemId>
          <RecMonthes xmlns:d6p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
          </RecMonthes>
          <RecTimely>true</RecTimely>
          <Receivable>9</Receivable>
          <StartPeriod>2021-09-20T17:04:12.4062919+08:00</StartPeriod>
        </ReceiptContractItemInfo>
        <ReceiptContractItemInfo>
          <ChargeItemId>3</ChargeItemId>
          <ContractEndPeriod>2021-09-20T17:04:12.4062919+08:00</ContractEndPeriod>
          <ContractItemId>2</ContractItemId>
          <ContractStartPeriod>2021-09-20T17:04:12.4062919+08:00</ContractStartPeriod>
          <EndPeriod>2021-09-20T17:04:12.4062919+08:00</EndPeriod>
          <ItemAmount>4</ItemAmount>
          <OfAmount>12</OfAmount>
          <OfdAmount>11</OfdAmount>
          <Price>10</Price>
          <Prices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>1</d6p1:decimal>
            <d6p1:decimal>2</d6p1:decimal>
          </Prices>
          <RecItemId>1</RecItemId>
          <RecMonthes xmlns:d6p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
          </RecMonthes>
          <RecTimely>true</RecTimely>
          <Receivable>9</Receivable>
          <StartPeriod>2021-09-20T17:04:12.4062919+08:00</StartPeriod>
        </ReceiptContractItemInfo>
      </ContractItems>
    </ReceiptItemInfo>
    <ReceiptItemInfo>
      <Approved>true</Approved>
      <ContractAmount>7</ContractAmount>
      <ContractId>1</ContractId>
      <ContractNo>sample string 4</ContractNo>
      <ContractTerm>sample string 6</ContractTerm>
      <CustDeleted>true</CustDeleted>
      <ServiceType>5</ServiceType>
      <ContractItems>
        <ReceiptContractItemInfo>
          <ChargeItemId>3</ChargeItemId>
          <ContractEndPeriod>2021-09-20T17:04:12.4062919+08:00</ContractEndPeriod>
          <ContractItemId>2</ContractItemId>
          <ContractStartPeriod>2021-09-20T17:04:12.4062919+08:00</ContractStartPeriod>
          <EndPeriod>2021-09-20T17:04:12.4062919+08:00</EndPeriod>
          <ItemAmount>4</ItemAmount>
          <OfAmount>12</OfAmount>
          <OfdAmount>11</OfdAmount>
          <Price>10</Price>
          <Prices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>1</d6p1:decimal>
            <d6p1:decimal>2</d6p1:decimal>
          </Prices>
          <RecItemId>1</RecItemId>
          <RecMonthes xmlns:d6p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
          </RecMonthes>
          <RecTimely>true</RecTimely>
          <Receivable>9</Receivable>
          <StartPeriod>2021-09-20T17:04:12.4062919+08:00</StartPeriod>
        </ReceiptContractItemInfo>
        <ReceiptContractItemInfo>
          <ChargeItemId>3</ChargeItemId>
          <ContractEndPeriod>2021-09-20T17:04:12.4062919+08:00</ContractEndPeriod>
          <ContractItemId>2</ContractItemId>
          <ContractStartPeriod>2021-09-20T17:04:12.4062919+08:00</ContractStartPeriod>
          <EndPeriod>2021-09-20T17:04:12.4062919+08:00</EndPeriod>
          <ItemAmount>4</ItemAmount>
          <OfAmount>12</OfAmount>
          <OfdAmount>11</OfdAmount>
          <Price>10</Price>
          <Prices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>1</d6p1:decimal>
            <d6p1:decimal>2</d6p1:decimal>
          </Prices>
          <RecItemId>1</RecItemId>
          <RecMonthes xmlns:d6p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
            <d6p1:ReceiptMonthInfo>
              <d6p1:Amount>2</d6p1:Amount>
              <d6p1:RecMonth>2021-09-20T17:04:12.4062919+08:00</d6p1:RecMonth>
            </d6p1:ReceiptMonthInfo>
          </RecMonthes>
          <RecTimely>true</RecTimely>
          <Receivable>9</Receivable>
          <StartPeriod>2021-09-20T17:04:12.4062919+08:00</StartPeriod>
        </ReceiptContractItemInfo>
      </ContractItems>
    </ReceiptItemInfo>
  </RecItems>
  <Receiver>4</Receiver>
  <ReceiverName>sample string 5</ReceiverName>
  <UsePreAmount>12</UsePreAmount>
</ReceiptInfo>