POST api/Invoice/SendInvoice
Request Information
URI Parameters
None.
Body Parameters
SendInvoiceName | 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. |
|
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", "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 43" }
application/xml, text/xml
Sample:
<SendInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ActionType>31</ActionType> <AdvancePayment>13</AdvancePayment> <AdvancePaymentPerc>14</AdvancePaymentPerc> <AgentId>27</AgentId> <AssignedDoctor>sample string 34</AssignedDoctor> <AssignedNurse>sample string 35</AssignedNurse> <BusinessAddress>sample string 5</BusinessAddress> <Businessid>20</Businessid> <Businessname>sample string 6</Businessname> <CacNo>sample string 4</CacNo> <CompanyLogo>sample string 21</CompanyLogo> <CustomerEmail>sample string 24</CustomerEmail> <CustomerName>sample string 26</CustomerName> <CustomerPhone>sample string 25</CustomerPhone> <DiagnoseName>sample string 37</DiagnoseName> <Email>sample string 16</Email> <EnquiryTitle>sample string 22</EnquiryTitle> <FileNumber>sample string 36</FileNumber> <InvoiceApprovedBy>sample string 40</InvoiceApprovedBy> <InvoiceApprovedDate>sample string 42</InvoiceApprovedDate> <InvoiceApprovedSignature>sample string 41</InvoiceApprovedSignature> <InvoiceCreatedDate>sample string 23</InvoiceCreatedDate> <InvoiceDetailsList> <Invoicedetails> <Description>sample string 1</Description> <Dicount>5</Dicount> <ItemId>4</ItemId> <Notes>sample string 6</Notes> <Price>2</Price> <Quantity>3</Quantity> </Invoicedetails> <Invoicedetails> <Description>sample string 1</Description> <Dicount>5</Dicount> <ItemId>4</ItemId> <Notes>sample string 6</Notes> <Price>2</Price> <Quantity>3</Quantity> </Invoicedetails> </InvoiceDetailsList> <InvoiceRequestId>2</InvoiceRequestId> <InvoiceType>29</InvoiceType> <IsResend>18</IsResend> <LeadId>19</LeadId> <Mode>sample string 43</Mode> <OrganizationName>sample string 39</OrganizationName> <PaymentMode>sample string 28</PaymentMode> <PaymentOptionTypename>sample string 33</PaymentOptionTypename> <Phone>sample string 17</Phone> <Remark>sample string 15</Remark> <SubTotal>8</SubTotal> <TIN>sample string 12</TIN> <TaskId>32</TaskId> <Total>9</Total> <TotalDiscount>3</TotalDiscount> <UserAddress>sample string 7</UserAddress> <UserId>1</UserId> <Vat>11</Vat> <VatPercentage>10.1</VatPercentage> <VitalId>38</VitalId> <invoiceid>30</invoiceid> </SendInvoice>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | 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/04/04 06:39:20", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>