PV API Service

<back to all web services

BillingAutoChargeChargeVisitRequest

POST the rules engine response to create the visit's invoice

The following routes are available for this service:
POST, OPTIONS/AutoChargeEntry/Billing/ChargedVisit

To override the Content-type in your clients HTTP Accept Header, append ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/BillingAutoChargeChargeVisitRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: text/jsv
Content-Length: length

{
	AutoChargedEvent: 
	{
		eventId: 00000000000000000000000000000000,
		visitCharged: 
		{
			visitId: 00000000000000000000000000000000,
			practiceId: 00000000000000000000000000000000,
			version: String,
			charges: 
			[
				{
					providerId: 00000000000000000000000000000000,
					payerId: 00000000000000000000000000000000,
					feeId: 00000000000000000000000000000000,
					cpt: String,
					modifier: 
					[
						String
					],
					quantity: 0,
					charge: 
					{
						currency: String,
						amount: 0
					},
					arAmount: 
					{
						currency: String,
						amount: 0
					},
					paid: 
					{
						currency: String,
						amount: 0
					},
					indicatedBy: 
					[
						{
							icd9DiagCode: String,
							icd10DiagCode: String,
							diagCodePk: 00000000000000000000000000000000,
							priority: 0,
							snomed: String
						}
					],
					billtoPayer: False,
					billable: False
				}
			],
			diagnosis: 
			[
				{
					icd9DiagCode: String,
					icd10DiagCode: String,
					diagCodePk: 00000000000000000000000000000000,
					priority: 0,
					snomed: String
				}
			],
			payments: 
			[
				{
					paymentId: 00000000000000000000000000000000,
					paymentType: String,
					payerId: 00000000000000000000000000000000,
					amount: 
					{
						currency: String,
						amount: 0
					},
					notes: String,
					paymentCategory: String
				}
			],
			createdId: String,
			createdUserNumber: 0,
			createdOn: String,
			wcDocFlag: False,
			authNumberFlag: False
		},
		audit: 
		{
			rulesLogs: 
			[
				{
					rulesLogId: 00000000000000000000000000000000,
					ruleGroup: String,
					ruleName: String,
					status: String,
					message: String,
					logLevel: String,
					createdDate: 0001-01-01
				}
			],
			manualReviewNeeded: False,
			stopProcessing: False,
			canAutoCharge: False,
			canAutoCode: False,
			finalStatus: String,
			withholdReason: String
		}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	result: False
}