POST api/Invoice/SendInvoice
Request Information
URI Parameters
None.
Body Parameters
SendInvoice| Name | Description | Type | Additional information | 
|---|---|---|---|
| UserId | integer | None. | |
| InvoiceRequestId | integer | None. | |
| TotalDiscount | decimal number | None. | |
| CacNo | string | None. | |
| BusinessAddress | string | None. | |
| Businessname | string | None. | |
| UserAddress | string | None. | |
| SubTotal | decimal number | None. | |
| Total | decimal number | None. | |
| VatPercentage | decimal number | None. | |
| Vat | decimal number | None. | |
| TIN | string | None. | |
| AdvancePayment | decimal number | None. | |
| AdvancePaymentPerc | decimal number | None. | |
| Remark | string | None. | |
| string | None. | ||
| Phone | string | None. | |
| IsResend | integer | None. | |
| LeadId | integer | None. | |
| Businessid | integer | None. | |
| CompanyLogo | string | None. | |
| EnquiryTitle | string | None. | |
| InvoiceCreatedDate | string | None. | |
| CustomerEmail | string | None. | |
| CustomerPhone | string | None. | |
| CustomerName | string | None. | |
| AgentId | integer | None. | |
| PaymentMode | string | None. | |
| InvoiceType | integer | None. | |
| invoiceid | integer | None. | |
| ActionType | integer | None. | |
| TaskId | integer | None. | |
| PaymentOptionTypename | string | None. | |
| AssignedDoctor | string | None. | |
| AssignedNurse | string | None. | |
| FileNumber | string | None. | |
| DiagnoseName | string | None. | |
| VitalId | integer | None. | |
| OrganizationName | string | None. | |
| InvoiceApprovedBy | string | None. | |
| InvoiceApprovedSignature | string | None. | |
| InvoiceApprovedDate | string | None. | |
| CouponCode | string | None. | |
| InvoiceDetailsList | Collection of Invoicedetails | None. | |
| Mode | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "UserId": 1,
  "InvoiceRequestId": 2,
  "TotalDiscount": 3.0,
  "CacNo": "sample string 4",
  "BusinessAddress": "sample string 5",
  "Businessname": "sample string 6",
  "UserAddress": "sample string 7",
  "SubTotal": 8.0,
  "Total": 9.0,
  "VatPercentage": 10.1,
  "Vat": 11.0,
  "TIN": "sample string 12",
  "AdvancePayment": 13.0,
  "AdvancePaymentPerc": 14.0,
  "Remark": "sample string 15",
  "Email": "sample string 16",
  "Phone": "sample string 17",
  "IsResend": 18,
  "LeadId": 19,
  "Businessid": 20,
  "CompanyLogo": "sample string 21",
  "EnquiryTitle": "sample string 22",
  "InvoiceCreatedDate": "sample string 23",
  "CustomerEmail": "sample string 24",
  "CustomerPhone": "sample string 25",
  "CustomerName": "sample string 26",
  "AgentId": 27,
  "PaymentMode": "sample string 28",
  "InvoiceType": 29,
  "invoiceid": 30,
  "ActionType": 31,
  "TaskId": 32,
  "PaymentOptionTypename": "sample string 33",
  "AssignedDoctor": "sample string 34",
  "AssignedNurse": "sample string 35",
  "FileNumber": "sample string 36",
  "DiagnoseName": "sample string 37",
  "VitalId": 38,
  "OrganizationName": "sample string 39",
  "InvoiceApprovedBy": "sample string 40",
  "InvoiceApprovedSignature": "sample string 41",
  "InvoiceApprovedDate": "sample string 42",
  "CouponCode": "sample string 43",
  "InvoiceDetailsList": [
    {
      "Description": "sample string 1",
      "Price": 2.0,
      "Quantity": 3,
      "ItemId": 4,
      "Dicount": 5.0,
      "Notes": "sample string 6"
    },
    {
      "Description": "sample string 1",
      "Price": 2.0,
      "Quantity": 3,
      "ItemId": 4,
      "Dicount": 5.0,
      "Notes": "sample string 6"
    }
  ],
  "Mode": "sample string 44"
}
        application/xml, text/xml
            Sample:
        
<SendInvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <UserId>1</UserId>
  <InvoiceRequestId>2</InvoiceRequestId>
  <TotalDiscount>3</TotalDiscount>
  <CacNo>sample string 4</CacNo>
  <BusinessAddress>sample string 5</BusinessAddress>
  <Businessname>sample string 6</Businessname>
  <UserAddress>sample string 7</UserAddress>
  <SubTotal>8</SubTotal>
  <Total>9</Total>
  <VatPercentage>10.1</VatPercentage>
  <Vat>11</Vat>
  <TIN>sample string 12</TIN>
  <AdvancePayment>13</AdvancePayment>
  <AdvancePaymentPerc>14</AdvancePaymentPerc>
  <Remark>sample string 15</Remark>
  <Email>sample string 16</Email>
  <Phone>sample string 17</Phone>
  <IsResend>18</IsResend>
  <LeadId>19</LeadId>
  <Businessid>20</Businessid>
  <CompanyLogo>sample string 21</CompanyLogo>
  <EnquiryTitle>sample string 22</EnquiryTitle>
  <InvoiceCreatedDate>sample string 23</InvoiceCreatedDate>
  <CustomerEmail>sample string 24</CustomerEmail>
  <CustomerPhone>sample string 25</CustomerPhone>
  <CustomerName>sample string 26</CustomerName>
  <AgentId>27</AgentId>
  <PaymentMode>sample string 28</PaymentMode>
  <InvoiceType>29</InvoiceType>
  <invoiceid>30</invoiceid>
  <ActionType>31</ActionType>
  <TaskId>32</TaskId>
  <PaymentOptionTypename>sample string 33</PaymentOptionTypename>
  <AssignedDoctor>sample string 34</AssignedDoctor>
  <AssignedNurse>sample string 35</AssignedNurse>
  <FileNumber>sample string 36</FileNumber>
  <DiagnoseName>sample string 37</DiagnoseName>
  <VitalId>38</VitalId>
  <OrganizationName>sample string 39</OrganizationName>
  <InvoiceApprovedBy>sample string 40</InvoiceApprovedBy>
  <InvoiceApprovedSignature>sample string 41</InvoiceApprovedSignature>
  <InvoiceApprovedDate>sample string 42</InvoiceApprovedDate>
  <CouponCode>sample string 43</CouponCode>
  <InvoiceDetailsList>
    <Invoicedetails>
      <Description>sample string 1</Description>
      <Price>2</Price>
      <Quantity>3</Quantity>
      <ItemId>4</ItemId>
      <Dicount>5</Dicount>
      <Notes>sample string 6</Notes>
    </Invoicedetails>
    <Invoicedetails>
      <Description>sample string 1</Description>
      <Price>2</Price>
      <Quantity>3</Quantity>
      <ItemId>4</ItemId>
      <Dicount>5</Dicount>
      <Notes>sample string 6</Notes>
    </Invoicedetails>
  </InvoiceDetailsList>
  <Mode>sample string 44</Mode>
</SendInvoice>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | string | None. | |
| dateTime | string | None. | |
| StatusCode | integer | None. | |
| ErrorMessage | string | None. | |
| Result | Object | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "Version": "1.0.0",
  "dateTime": "2025/10/31 15:36:28",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>