Skip to main content
POST
/
invoice
Create new invoice
curl --request POST \
  --url https://virtserver.swaggerhub.com/SUBIN23K/Subin_Health/1.0.0/invoice \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "patientId": 234796,
  "medicine": "Dolo 650",
  "name": "Subin",
  "age": 100,
  "invoiceDate": "01/03/2024",
  "gender": "Male",
  "phone": 9876543210,
  "email": "abc@example.com",
  "companyaddress": "Bangalore, India",
  "dosage": "650 mg",
  "price": 1000,
  "currency": "INR"
}
'

Authorizations

api_key
string
header
required

Body

Object that contains invoice data

Billing statement for a patient's prescription or hospital services.

patientId
integer<int64>
required

Unique identifier for the patient being invoiced.

Example:

234796

medicine
string
required

Name of the billed medicine.

Example:

"Dolo 650"

name
string

Full or registered name of the patient.

Example:

"Subin"

age
integer<int64>

Current age of the patient in years.

Example:

100

invoiceDate
string

Date when the invoice was generated (DD/MM/YYYY).

Example:

"01/03/2024"

gender
string

Gender of the patient.

Example:

"Male"

phone
integer<int64>

Primary contact phone number for the patient.

Example:

9876543210

email
string

Primary email address for the patient.

Example:

"abc@example.com"

companyaddress
string

Registered address of the issuing healthcare facility.

Example:

"Bangalore, India"

dosage
string

Billed dosage of the medicine.

Example:

"650 mg"

price
integer

Total billed amount for the medicine.

Example:

1000

currency
string

Currency code for the billed amount.

Example:

"INR"

Response

Successful operation