Partially Update Bill
Update an existing bill.
curl --request PATCH \
--url https://sandbox.elationemr.com/api/2.0/bills/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"billing_date": "2023-11-07T05:31:56Z",
"billing_error": "<string>",
"billing_provider": 123,
"billing_raw_error": "<string>",
"cpts": [
{
"cpt": "<string>",
"dxs": [
{
"icd10_code": "<string>",
"icd9_codes": [
"<string>"
]
}
],
"unit_charge": "<string>",
"units": "<string>",
"modifier_1": "<string>",
"modifier_2": "<string>",
"modifier_3": "<string>",
"modifier_4": "<string>",
"ndc": "<string>",
"ndc_dose": "<string>"
}
],
"metadata": {},
"notes": "<string>",
"ordering_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"payment_amount": "<string>",
"practice": 123,
"prior_authorization": "<string>",
"ref_number": "<string>",
"referring_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"rendering_provider": 123,
"service_location": 123,
"supervising_provider": 123,
"visit_note": 123
}
'import requests
url = "https://sandbox.elationemr.com/api/2.0/bills/{id}/"
payload = {
"billing_date": "2023-11-07T05:31:56Z",
"billing_error": "<string>",
"billing_provider": 123,
"billing_raw_error": "<string>",
"cpts": [
{
"cpt": "<string>",
"dxs": [
{
"icd10_code": "<string>",
"icd9_codes": ["<string>"]
}
],
"unit_charge": "<string>",
"units": "<string>",
"modifier_1": "<string>",
"modifier_2": "<string>",
"modifier_3": "<string>",
"modifier_4": "<string>",
"ndc": "<string>",
"ndc_dose": "<string>"
}
],
"metadata": {},
"notes": "<string>",
"ordering_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"payment_amount": "<string>",
"practice": 123,
"prior_authorization": "<string>",
"ref_number": "<string>",
"referring_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"rendering_provider": 123,
"service_location": 123,
"supervising_provider": 123,
"visit_note": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
billing_date: '2023-11-07T05:31:56Z',
billing_error: '<string>',
billing_provider: 123,
billing_raw_error: '<string>',
cpts: [
{
cpt: '<string>',
dxs: [{icd10_code: '<string>', icd9_codes: ['<string>']}],
unit_charge: '<string>',
units: '<string>',
modifier_1: '<string>',
modifier_2: '<string>',
modifier_3: '<string>',
modifier_4: '<string>',
ndc: '<string>',
ndc_dose: '<string>'
}
],
metadata: {},
notes: '<string>',
ordering_provider: {name: '<string>', state: '<string>', npi: '<string>'},
payment_amount: '<string>',
practice: 123,
prior_authorization: '<string>',
ref_number: '<string>',
referring_provider: {name: '<string>', state: '<string>', npi: '<string>'},
rendering_provider: 123,
service_location: 123,
supervising_provider: 123,
visit_note: 123
})
};
fetch('https://sandbox.elationemr.com/api/2.0/bills/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.elationemr.com/api/2.0/bills/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'billing_date' => '2023-11-07T05:31:56Z',
'billing_error' => '<string>',
'billing_provider' => 123,
'billing_raw_error' => '<string>',
'cpts' => [
[
'cpt' => '<string>',
'dxs' => [
[
'icd10_code' => '<string>',
'icd9_codes' => [
'<string>'
]
]
],
'unit_charge' => '<string>',
'units' => '<string>',
'modifier_1' => '<string>',
'modifier_2' => '<string>',
'modifier_3' => '<string>',
'modifier_4' => '<string>',
'ndc' => '<string>',
'ndc_dose' => '<string>'
]
],
'metadata' => [
],
'notes' => '<string>',
'ordering_provider' => [
'name' => '<string>',
'state' => '<string>',
'npi' => '<string>'
],
'payment_amount' => '<string>',
'practice' => 123,
'prior_authorization' => '<string>',
'ref_number' => '<string>',
'referring_provider' => [
'name' => '<string>',
'state' => '<string>',
'npi' => '<string>'
],
'rendering_provider' => 123,
'service_location' => 123,
'supervising_provider' => 123,
'visit_note' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.elationemr.com/api/2.0/bills/{id}/"
payload := strings.NewReader("{\n \"billing_date\": \"2023-11-07T05:31:56Z\",\n \"billing_error\": \"<string>\",\n \"billing_provider\": 123,\n \"billing_raw_error\": \"<string>\",\n \"cpts\": [\n {\n \"cpt\": \"<string>\",\n \"dxs\": [\n {\n \"icd10_code\": \"<string>\",\n \"icd9_codes\": [\n \"<string>\"\n ]\n }\n ],\n \"unit_charge\": \"<string>\",\n \"units\": \"<string>\",\n \"modifier_1\": \"<string>\",\n \"modifier_2\": \"<string>\",\n \"modifier_3\": \"<string>\",\n \"modifier_4\": \"<string>\",\n \"ndc\": \"<string>\",\n \"ndc_dose\": \"<string>\"\n }\n ],\n \"metadata\": {},\n \"notes\": \"<string>\",\n \"ordering_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"payment_amount\": \"<string>\",\n \"practice\": 123,\n \"prior_authorization\": \"<string>\",\n \"ref_number\": \"<string>\",\n \"referring_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"rendering_provider\": 123,\n \"service_location\": 123,\n \"supervising_provider\": 123,\n \"visit_note\": 123\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://sandbox.elationemr.com/api/2.0/bills/{id}/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"billing_date\": \"2023-11-07T05:31:56Z\",\n \"billing_error\": \"<string>\",\n \"billing_provider\": 123,\n \"billing_raw_error\": \"<string>\",\n \"cpts\": [\n {\n \"cpt\": \"<string>\",\n \"dxs\": [\n {\n \"icd10_code\": \"<string>\",\n \"icd9_codes\": [\n \"<string>\"\n ]\n }\n ],\n \"unit_charge\": \"<string>\",\n \"units\": \"<string>\",\n \"modifier_1\": \"<string>\",\n \"modifier_2\": \"<string>\",\n \"modifier_3\": \"<string>\",\n \"modifier_4\": \"<string>\",\n \"ndc\": \"<string>\",\n \"ndc_dose\": \"<string>\"\n }\n ],\n \"metadata\": {},\n \"notes\": \"<string>\",\n \"ordering_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"payment_amount\": \"<string>\",\n \"practice\": 123,\n \"prior_authorization\": \"<string>\",\n \"ref_number\": \"<string>\",\n \"referring_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"rendering_provider\": 123,\n \"service_location\": 123,\n \"supervising_provider\": 123,\n \"visit_note\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elationemr.com/api/2.0/bills/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"billing_date\": \"2023-11-07T05:31:56Z\",\n \"billing_error\": \"<string>\",\n \"billing_provider\": 123,\n \"billing_raw_error\": \"<string>\",\n \"cpts\": [\n {\n \"cpt\": \"<string>\",\n \"dxs\": [\n {\n \"icd10_code\": \"<string>\",\n \"icd9_codes\": [\n \"<string>\"\n ]\n }\n ],\n \"unit_charge\": \"<string>\",\n \"units\": \"<string>\",\n \"modifier_1\": \"<string>\",\n \"modifier_2\": \"<string>\",\n \"modifier_3\": \"<string>\",\n \"modifier_4\": \"<string>\",\n \"ndc\": \"<string>\",\n \"ndc_dose\": \"<string>\"\n }\n ],\n \"metadata\": {},\n \"notes\": \"<string>\",\n \"ordering_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"payment_amount\": \"<string>\",\n \"practice\": 123,\n \"prior_authorization\": \"<string>\",\n \"ref_number\": \"<string>\",\n \"referring_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"rendering_provider\": 123,\n \"service_location\": 123,\n \"supervising_provider\": 123,\n \"visit_note\": 123\n}"
response = http.request(request)
puts response.read_body{
"billing_date": "2023-11-07T05:31:56Z",
"billing_error": "<string>",
"billing_provider": 123,
"billing_raw_error": "<string>",
"cpts": [
{
"cpt": "<string>",
"dxs": [
{
"icd10_code": "<string>",
"icd9_codes": [
"<string>"
]
}
],
"unit_charge": "<string>",
"units": "<string>",
"modifier_1": "<string>",
"modifier_2": "<string>",
"modifier_3": "<string>",
"modifier_4": "<string>",
"ndc": "<string>",
"ndc_dose": "<string>"
}
],
"metadata": {},
"notes": "<string>",
"ordering_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"payment_amount": "<string>",
"practice": 123,
"prior_authorization": "<string>",
"ref_number": "<string>",
"referring_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"rendering_provider": 123,
"service_location": 123,
"supervising_provider": 123,
"visit_note": 123
}Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
The date the bill was billed. Required if marking a bill as processed.
The error message for the bill. Required if marking a bill as failed. This is the human readable error that users will see.
200Further details on the billing error. Optional when marking a bill as failed. Useful when debugging why a bill failed to process.
CPT objects for the bill.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Additional billing notes.
1000The id of the provider who orders non-physician services for the patient.
Show child attributes
Show child attributes
Dollar amount of the patient payment.
^-?\d{0,8}(?:\.\d{0,2})?$1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 41, 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 65, 66, 71, 72, 81, 99 50The reference number of the bill. Required if marking a bill as processed.
Show child attributes
Show child attributes
The id of the service location the bill is associated with.
The id of the provider who has undertaken primary responsibility for the patient's health.
Response
The date the bill was billed. Required if marking a bill as processed.
The error message for the bill. Required if marking a bill as failed. This is the human readable error that users will see.
200Further details on the billing error. Optional when marking a bill as failed. Useful when debugging why a bill failed to process.
CPT objects for the bill.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Additional billing notes.
1000The id of the provider who orders non-physician services for the patient.
Show child attributes
Show child attributes
Dollar amount of the patient payment.
^-?\d{0,8}(?:\.\d{0,2})?$1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 41, 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 65, 66, 71, 72, 81, 99 50The reference number of the bill. Required if marking a bill as processed.
Show child attributes
Show child attributes
The id of the service location the bill is associated with.
The id of the provider who has undertaken primary responsibility for the patient's health.
Was this page helpful?
curl --request PATCH \
--url https://sandbox.elationemr.com/api/2.0/bills/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"billing_date": "2023-11-07T05:31:56Z",
"billing_error": "<string>",
"billing_provider": 123,
"billing_raw_error": "<string>",
"cpts": [
{
"cpt": "<string>",
"dxs": [
{
"icd10_code": "<string>",
"icd9_codes": [
"<string>"
]
}
],
"unit_charge": "<string>",
"units": "<string>",
"modifier_1": "<string>",
"modifier_2": "<string>",
"modifier_3": "<string>",
"modifier_4": "<string>",
"ndc": "<string>",
"ndc_dose": "<string>"
}
],
"metadata": {},
"notes": "<string>",
"ordering_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"payment_amount": "<string>",
"practice": 123,
"prior_authorization": "<string>",
"ref_number": "<string>",
"referring_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"rendering_provider": 123,
"service_location": 123,
"supervising_provider": 123,
"visit_note": 123
}
'import requests
url = "https://sandbox.elationemr.com/api/2.0/bills/{id}/"
payload = {
"billing_date": "2023-11-07T05:31:56Z",
"billing_error": "<string>",
"billing_provider": 123,
"billing_raw_error": "<string>",
"cpts": [
{
"cpt": "<string>",
"dxs": [
{
"icd10_code": "<string>",
"icd9_codes": ["<string>"]
}
],
"unit_charge": "<string>",
"units": "<string>",
"modifier_1": "<string>",
"modifier_2": "<string>",
"modifier_3": "<string>",
"modifier_4": "<string>",
"ndc": "<string>",
"ndc_dose": "<string>"
}
],
"metadata": {},
"notes": "<string>",
"ordering_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"payment_amount": "<string>",
"practice": 123,
"prior_authorization": "<string>",
"ref_number": "<string>",
"referring_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"rendering_provider": 123,
"service_location": 123,
"supervising_provider": 123,
"visit_note": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
billing_date: '2023-11-07T05:31:56Z',
billing_error: '<string>',
billing_provider: 123,
billing_raw_error: '<string>',
cpts: [
{
cpt: '<string>',
dxs: [{icd10_code: '<string>', icd9_codes: ['<string>']}],
unit_charge: '<string>',
units: '<string>',
modifier_1: '<string>',
modifier_2: '<string>',
modifier_3: '<string>',
modifier_4: '<string>',
ndc: '<string>',
ndc_dose: '<string>'
}
],
metadata: {},
notes: '<string>',
ordering_provider: {name: '<string>', state: '<string>', npi: '<string>'},
payment_amount: '<string>',
practice: 123,
prior_authorization: '<string>',
ref_number: '<string>',
referring_provider: {name: '<string>', state: '<string>', npi: '<string>'},
rendering_provider: 123,
service_location: 123,
supervising_provider: 123,
visit_note: 123
})
};
fetch('https://sandbox.elationemr.com/api/2.0/bills/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.elationemr.com/api/2.0/bills/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'billing_date' => '2023-11-07T05:31:56Z',
'billing_error' => '<string>',
'billing_provider' => 123,
'billing_raw_error' => '<string>',
'cpts' => [
[
'cpt' => '<string>',
'dxs' => [
[
'icd10_code' => '<string>',
'icd9_codes' => [
'<string>'
]
]
],
'unit_charge' => '<string>',
'units' => '<string>',
'modifier_1' => '<string>',
'modifier_2' => '<string>',
'modifier_3' => '<string>',
'modifier_4' => '<string>',
'ndc' => '<string>',
'ndc_dose' => '<string>'
]
],
'metadata' => [
],
'notes' => '<string>',
'ordering_provider' => [
'name' => '<string>',
'state' => '<string>',
'npi' => '<string>'
],
'payment_amount' => '<string>',
'practice' => 123,
'prior_authorization' => '<string>',
'ref_number' => '<string>',
'referring_provider' => [
'name' => '<string>',
'state' => '<string>',
'npi' => '<string>'
],
'rendering_provider' => 123,
'service_location' => 123,
'supervising_provider' => 123,
'visit_note' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.elationemr.com/api/2.0/bills/{id}/"
payload := strings.NewReader("{\n \"billing_date\": \"2023-11-07T05:31:56Z\",\n \"billing_error\": \"<string>\",\n \"billing_provider\": 123,\n \"billing_raw_error\": \"<string>\",\n \"cpts\": [\n {\n \"cpt\": \"<string>\",\n \"dxs\": [\n {\n \"icd10_code\": \"<string>\",\n \"icd9_codes\": [\n \"<string>\"\n ]\n }\n ],\n \"unit_charge\": \"<string>\",\n \"units\": \"<string>\",\n \"modifier_1\": \"<string>\",\n \"modifier_2\": \"<string>\",\n \"modifier_3\": \"<string>\",\n \"modifier_4\": \"<string>\",\n \"ndc\": \"<string>\",\n \"ndc_dose\": \"<string>\"\n }\n ],\n \"metadata\": {},\n \"notes\": \"<string>\",\n \"ordering_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"payment_amount\": \"<string>\",\n \"practice\": 123,\n \"prior_authorization\": \"<string>\",\n \"ref_number\": \"<string>\",\n \"referring_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"rendering_provider\": 123,\n \"service_location\": 123,\n \"supervising_provider\": 123,\n \"visit_note\": 123\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://sandbox.elationemr.com/api/2.0/bills/{id}/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"billing_date\": \"2023-11-07T05:31:56Z\",\n \"billing_error\": \"<string>\",\n \"billing_provider\": 123,\n \"billing_raw_error\": \"<string>\",\n \"cpts\": [\n {\n \"cpt\": \"<string>\",\n \"dxs\": [\n {\n \"icd10_code\": \"<string>\",\n \"icd9_codes\": [\n \"<string>\"\n ]\n }\n ],\n \"unit_charge\": \"<string>\",\n \"units\": \"<string>\",\n \"modifier_1\": \"<string>\",\n \"modifier_2\": \"<string>\",\n \"modifier_3\": \"<string>\",\n \"modifier_4\": \"<string>\",\n \"ndc\": \"<string>\",\n \"ndc_dose\": \"<string>\"\n }\n ],\n \"metadata\": {},\n \"notes\": \"<string>\",\n \"ordering_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"payment_amount\": \"<string>\",\n \"practice\": 123,\n \"prior_authorization\": \"<string>\",\n \"ref_number\": \"<string>\",\n \"referring_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"rendering_provider\": 123,\n \"service_location\": 123,\n \"supervising_provider\": 123,\n \"visit_note\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elationemr.com/api/2.0/bills/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"billing_date\": \"2023-11-07T05:31:56Z\",\n \"billing_error\": \"<string>\",\n \"billing_provider\": 123,\n \"billing_raw_error\": \"<string>\",\n \"cpts\": [\n {\n \"cpt\": \"<string>\",\n \"dxs\": [\n {\n \"icd10_code\": \"<string>\",\n \"icd9_codes\": [\n \"<string>\"\n ]\n }\n ],\n \"unit_charge\": \"<string>\",\n \"units\": \"<string>\",\n \"modifier_1\": \"<string>\",\n \"modifier_2\": \"<string>\",\n \"modifier_3\": \"<string>\",\n \"modifier_4\": \"<string>\",\n \"ndc\": \"<string>\",\n \"ndc_dose\": \"<string>\"\n }\n ],\n \"metadata\": {},\n \"notes\": \"<string>\",\n \"ordering_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"payment_amount\": \"<string>\",\n \"practice\": 123,\n \"prior_authorization\": \"<string>\",\n \"ref_number\": \"<string>\",\n \"referring_provider\": {\n \"name\": \"<string>\",\n \"state\": \"<string>\",\n \"npi\": \"<string>\"\n },\n \"rendering_provider\": 123,\n \"service_location\": 123,\n \"supervising_provider\": 123,\n \"visit_note\": 123\n}"
response = http.request(request)
puts response.read_body{
"billing_date": "2023-11-07T05:31:56Z",
"billing_error": "<string>",
"billing_provider": 123,
"billing_raw_error": "<string>",
"cpts": [
{
"cpt": "<string>",
"dxs": [
{
"icd10_code": "<string>",
"icd9_codes": [
"<string>"
]
}
],
"unit_charge": "<string>",
"units": "<string>",
"modifier_1": "<string>",
"modifier_2": "<string>",
"modifier_3": "<string>",
"modifier_4": "<string>",
"ndc": "<string>",
"ndc_dose": "<string>"
}
],
"metadata": {},
"notes": "<string>",
"ordering_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"payment_amount": "<string>",
"practice": 123,
"prior_authorization": "<string>",
"ref_number": "<string>",
"referring_provider": {
"name": "<string>",
"state": "<string>",
"npi": "<string>"
},
"rendering_provider": 123,
"service_location": 123,
"supervising_provider": 123,
"visit_note": 123
}