The Clearing Services APIs allow to retrieve remittances.

Getting started

General aspects of integrating with Healthcode APIs, like authentication and authorisation, naming conventions, data formatting assumptions, error handling requirements, etc. are documented here.

Pay special attention to the aspects of using discovery document, the need to specify site id within the request headers, and the need to specify exact API version.

Also, be certain you are connecting to the correct environment. If you are trying to integrate into our sandbox (UAT) environment, read instructions here first to understand the requirements.

Remittances

Remittance data can be retrieved in two parts: summary and detail. The remittance summary uses the PaymentReconciliation resource, whereas the remittance detail uses the ClaimResponse resource. The following APIs enable operations on these resources.

Search Remittance Summary

The Search Remittance Summary – API provides enhanced search capabilities through advanced filtering and sorting options to retrieve remittance summary information.

This API is available only to users subscribed to the Remittances Pro tier.

Endpoint

Must be looked up from the discovery document using search_remittance_summary_endpoint key.

Request

curl --request POST
	--url '{search_remittance_summary_endpoint}' 
	--header 'SU-SiteId: HC16190' 
	--header 'Content-Type: application/x-www-form-urlencoded' 
	--header 'Authorization: Bearer abCdE12...89mNopq0r' 
	--data-urlencode 'page=1' 
	--data-urlencode 'count=10' 
	--data-urlencode 'insurerIdentifier=slh' 
	--data-urlencode 'provider=P162345' 
	--data-urlencode 'invoiceNumber=INV069' 
	--data-urlencode 'patientName=Nelson' 
	--data-urlencode 'membershipNumber=REG004' 
	--data-urlencode 'dateCreated=2025-05-01_2025-05-03' 
	--data-urlencode 'datePaid=2025-01-01_2025-01-03' 
	--data-urlencode 'paymentAmount=ge1500.00' 
	--data-urlencode 'amountInvoiced=ge2000.00' 
	--data-urlencode 'paymentReference=PAY169991' 
	--data-urlencode 'hasShortFall=true' 
	--data-urlencode 'excludeExported=true' 
	--data-urlencode '_sort=providerName'
        --data-urlencode '_since=2024-12-02T16:00:00.000'

Where,

FieldTypeMandatory/ OptionalDescription
insurerIdentifierStringOInsurer/Payor identifier. Following are the supported insurers/payors and its identifiers:
Bupa = bup
Bupa Global = bui
AXA Health = ppp
Aviva = nuh
Vitality Health = slh
Cigna International = cin
Trust In Health = tih
WPA = wpa
Patientzone = pzo
providerStringOProvider’s code or name
invoiceNumberStringOInvoice number
patientNameStringOPatient name
membershipNumberStringOMembership number
dateCreatedStringODate created range
datePaidStringODate paid range
paymentAmountStringOPayment amount of remittance. Supports le (less than or equal to) and ge (greater than or equal) and eq (equal to).
amountInvoicedStringOInvoiced amount of remittance. Supports le (less than or equal to) and ge (greater than or equal) and eq (equal to).
insurerPaymentReferenceStringOInsurer payment reference
hasShortFallBooleanOFilter remittances which includes shortfall
excludeExportedBooleanOFilter exported remittances
_sortStringOSort results by created date. Use _sort=createdOn to sort results on created date in ascending order, or _sort=-createdOn for descending order
_sinceStringOLast updated date time of records
pageStringOPage index to be fetched {1,2,3..}
countStringOMaximum records in a page

Response

The API returns a Bundle of PaymentReconciliation resources based on the search filters.

{
    "resourceType": "Bundle",
    "meta": {
        "tag": [
            {
                "code": "page",
                "display": "1"
            },
            {
                "code": "count",
                "display": "10"
            },
            {
                "code": "maxCount",
                "display": "1"
            }
        ]
    },
    "type": "collection",
    "total": 1,
    "entry": [
        {
            "resource": {
                "resourceType": "PaymentReconciliation",
                "id": "RS69991",
                "contained": [
                    {
                        "resourceType": "Organization",
                        "id": "1",
                        "identifier": [
                            {
                                "system": "https://ref.api.healthcode.co.uk/providerIdentifier",
                                "value": "P162345"
                            }
                        ],
                        "name": "James Hospitals"
                    },
                    {
                        "resourceType": "Organization",
                        "id": "2",
                        "identifier": [
                            {
                                "system": "https://ref.api.healthcode.co.uk/insurerIdentifier",
                                "value": "slh"
                            }
                        ],
                        "name": "Vitality Health"
                    }
                ],
                "extension": [
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/totalInvoices",
                        "valueInteger": 5
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/isExported",
                        "valueBoolean": true
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/paymentMethod",
                        "valueString": "Cheque"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/sortCode",
                        "valueString": "69991"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/accountNumber",
                        "valueString": "699913210"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/processedDate",
                        "valueDate": "2025-01-02"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/amountDue",
                        "valueMoney": {
                            "value": 125.46
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/broughtForwarded",
                        "valueMoney": {
                            "value": 0
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/carriedForwarded",
                        "valueMoney": {
                            "value": 0
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/totalInvoiced",
                        "valueMoney": {
                            "value": 2096.73
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/totalShortfall",
                        "valueMoney": {
                            "value": 125.46
                        }
                    }
                ],
                "created": "2025-02-05T10:00:00+00:00",
                "requestor": {
                    "reference": "#1"
                },
                "paymentIssuer": {
                    "reference": "#2"
                },
                "paymentAmount": {
                    "value": 1971.27
                },
                "paymentDate": "2025-01-02T00:00:00+00:00",
                "paymentIdentifier": {
                    "system": "https://clearing.api.healthcode.co.uk/paymentReference",
                    "value": "PAY169991"
                }
            }
        }
    ]
}

Where,

NameTypeCard.DescriptionFHIR Field
Remittance Summary IDId1-1Remittance Summary IDPaymentReconciliation.id
ProviderReference (Organization)1-1Provider identifier and namePaymentReconciliation.requestor
InsurerReference (Organization)1-1Insurer identifier and namePaymentReconciliation.paymentIssuer
Payment ReferenceIdentifier1-1The reference of the payment as presented to the bank for a transfer, or the cheque number if the method of payment is chequePaymentReconciliation.paymentIdentifier
Date CreatedDateTime1-1The date when the remittances was loaded into Healthcode systemPaymentReconciliation.created
Payment DateDate1-1The date of the payment which for BACS payments represents the date that the payment is actually due to be credited to the recipient’s bank accountPaymentReconciliation.paymentDate
Amount PaidMoney1-1The actual amount credited to the provider’s bank account or forwarded as a chequePaymentReconciliation.paymentAmount
Payment MethodString0-1This indicates how the payment is made and the allowed values are Cheque or BACSPaymentReconciliation.extension.valueString – paymentMethod
Sort CodeString0-1This is provider’s bank sort code and will be included if payment method is BACSPaymentReconciliation.extension.valueString – sortCode
Account NumberString0-1This is provider’s bank account number and will be included if payment method is BACSPaymentReconciliation.extension.valueString – accountNumber
Processed DateDate1-1The processing date when the remittance was created on the insurer’s/payor’s systemPaymentReconciliation.extension.valueDate – processedDate
Amount DueMoney0-1The total due amountPaymentReconciliation.extension.valueMoney – amountDue
Brought ForwardMoney0-1It contains amount due to the provider or outstanding from the provider from the previous payment periodPaymentReconciliation.extension.valueMoney – broughtForward
Carried ForwardMoney0-1The net total of the amount brought forward from the previous payment period, plus the amount due to be paid in this payment period less the amount actually being paidPaymentReconciliation.extension.valueMoney – carriedForward
Total InvoicedMoney1-1Total invoicedPaymentReconciliation.extension.valueMoney – totalInvoiced
Total ShortfallMoney0-1Total shortfallPaymentReconciliation.extension.valueMoney – totalShortfall
Total InvoicesInteger1-1Total number of invoicesPaymentReconciliation.extension.valueInteger – totalInvoices
Is ExportedBoolean1-1Indicates weather the remittance was exported or notPaymentReconciliation.extension.valueBoolean – isExported

Error handling

HTTP CodeError CodeDescription
400MSG_MISSING_MANDATORY_PARAMMissing mandatory parameter
422MSG_PARAM_INVALIDParameter content is invalid
400MSG_PARAM_EMPTYParameter is null/empty
422MSG_INVALID_FORMATInvalid format

Search Remittance Detail

The Search Remittance Detail – Advanced API provides enhanced search capabilities through advanced filtering and sorting options to retrieve detailed remittance information such as patient details, invoice details and payment details.

This API is available only to users subscribed to the Remittances Pro tier.

Endpoint

Must be looked up from the discovery document using search_remittance_detail_endpoint key.

Request

curl --request POST
	--url '{search_remittance_detail_endpoint}/{remittance_summary_id}' 
	--header 'SU-SiteId: HC16190' 
	--header 'Content-Type: application/x-www-form-urlencoded' 
	--data-urlencode 'page=1' 
	--data-urlencode 'count=10' 
	--data-urlencode '_sort=invoiceTotal' 
	--data-urlencode 'invoiceNumber=INV069' 
	--data-urlencode 'patientName=Nelson' 
	--data-urlencode 'membershipNumber=REG004' 
	--data-urlencode 'invoiceDate=2024-11-01_2024-11-05' 
	--data-urlencode 'hospitalNumber=REF004' 
	--data-urlencode 'insurerBillNumber=PC004' 
	--data-urlencode 'invoiceTotal=ge200.00' 
	--data-urlencode 'hasShortFall=true'
        --data-urlencode '_since=2024-12-02T16:00:00.000'
       

Where,

FieldTypeMandatory/ OptionalDescription
remittanceSummaryIdStringMRemittance Summary ID
invoiceNumberStringOInvoice number
patientNameStringOPatient name
membershipNumberStringOMembership number
invoiceDateStringOInvoice date range
hospitalNumberStringOHospital number
insurerBillNumberStringOInsurer bill number
invoiceTotalStringOInvoice total. Supports le (less than or equal to) and ge (greater than or equal) and eq (equal to).
hasShortFallBooleanOFilter remittances which includes shortfall
_sortStringOSort results by created date. Use _sort=createdOn to sort results on created date in ascending order, or _sort=-createdOn for descending order
_sinceStringOLast updated date time of records
pageStringOPage index to be fetched {1,2,3..}
countStringOMaximum records in a page

Response

The API returns a Bundle of ClaimResponse resources based on the search filters.

{
    "resourceType": "Bundle",
    "meta": {
        "tag": [
            {
                "code": "page",
                "display": "1"
            },
            {
                "code": "count",
                "display": "10"
            },
            {
                "code": "maxCount",
                "display": "1"
            }
        ]
    },
    "type": "collection",
    "total": 1,
    "entry": [
        {
            "resource": {
                "resourceType": "ClaimResponse",
                "id": "RD69994",
                "contained": [
                    {
                        "resourceType": "Patient",
                        "id": "1",
                        "identifier": [
                            {
                                "system": "https://clearing.api.healthcode.co.uk/membershipNumber",
                                "value": "REG004"
                            }
                        ],
                        "name": [
                            {
                                "family": "Nick",
                                "given": [
                                    "Nelson",
                                    "A"
                                ],
                                "prefix": [
                                    "Mr."
                                ]
                            }
                        ]
                    }
                ],
                "extension": [
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/invoiceNumber",
                        "valueString": "INV069"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/invoiceDate",
                        "valueDate": "2024-11-04"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/paidAmount",
                        "valueMoney": {
                            "value": 190.00
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/invoiceTotal",
                        "valueMoney": {
                            "value": 250.00
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/previousPaidAmount",
                        "valueMoney": {
                            "value": 0.00
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/shortAmount",
                        "valueMoney": {
                            "value": 60.00
                        }
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/collectionService",
                        "valueString": "None"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/dateCompleted",
                        "valueDate": "2025-02-10"
                    },
                    {
                        "url": "https://clearing.api.healthcode.co.uk/extension/createdOn",
                        "valueDateTime": "2025-02-01T10:00:00+00:00"
                    }
                ],
                "identifier": [
                    {
                        "system": "https://clearing.api.healthcode.co.uk/insurerBillNumber",
                        "value": "PC004"
                    },
                    {
                        "system": "https://clearing.api.healthcode.co.uk/hospitalNumber",
                        "value": "REF004"
                    },
                    {
                        "system": "https://clearing.api.healthcode.co.uk/chClaimNo",
                        "value": "CH001"
                    }
                ],
                "patient": {
                    "reference": "#1"
                },
                "item": [
                    {
                        "adjudication": [
                            {
                                "extension": [
                                    {
                                        "url": "https://clearing.api.healthcode.co.uk/extension/liabilityType",
                                        "valueString": "Patient Liability"
                                    }
                                ],
                                "category": {
                                    "coding": [
                                        {
                                            "system": "https://clearing.api.healthcode.co.uk/adjudication",
                                            "code": "deductible"
                                        }
                                    ]
                                },
                                "reason": {
                                    "text": "Member Excess"
                                },
                                "amount": {
                                    "value": 30.00
                                }
                            }
                        ]
                    },
                    {
                        "adjudication": [
                            {
                                "extension": [
                                    {
                                        "url": "https://clearing.api.healthcode.co.uk/extension/liabilityType",
                                        "valueString": "Provider Liability"
                                    }
                                ],
                                "category": {
                                    "coding": [
                                        {
                                            "system": "https://clearing.api.healthcode.co.uk/adjudication",
                                            "code": "deductible"
                                        }
                                    ]
                                },
                                "reason": {
                                    "text": "Charge Exceeds Agreed Tariff"
                                },
                                "amount": {
                                    "value": 30.00
                                }
                            }
                        ]
                    }
                ]
            }
        }
    ]
}

Where,

NameTypeCard.DescriptionFHIR Field
Remittance Summary IDId1-1Remittance Summary IDClaimResponse.id
Membership NumberIdentifier1-1Membership numberClaimResponse.contained.Patient.identifier
Patient NameHumanName0-1Patient nameClaimResponse.contained.Patient.name
Invoice NumberString1-1The provider’s invoice numberClaimResponse.extension.valueString – invoiceNumber
Invoice DateDate1-1Invoice dateClaimResponse.extension.valueDate – invoiceDate
Invoice TotalMoney1-1Invoice totalClaimResponse.extension.valueMoney – invoiceTotal
Paid AmountMoney1-1The amount actually remitted to the providerClaimResponse.extension.valueMoney – paidAmount
Previous Paid AmountMoney0-1The amount previously paidClaimResponse.extension.valueMoney – previousPaidAmount
Short AmountMoney0-1The short amount indicates the difference between the total value of the claim, any previously paid amount and the amount remittedClaimResponse.extension.valueMoney – shortAmount
Shortfall ReasonBackboneElement0-*The shortfall liability type, reason and amount detailsClaimResponse.item
Collection ServiceString0-1Collection serviceClaimResponse.extension.valueString – collectionService
Date CompletedDate1-1Date completedClaimResponse.extension.valueDate – dateCompleted
Created OnDateTime1-1Created onClaimResponse.extension.valueDateTime – createdOn
Insurer Bill NumberString1-1Insurer bill numberClaimResponse.extension.valueString – insurerBillNumber
Hospital NumberString1-1Hospital numberClaimResponse.extension.valueString – hospitalNumber
CH Claim NumberString0-1The internal reference used at Healthcode to link a particular Remittance to the original ClaimClaimResponse.extension.valueString – chClaimNo

Error handling

HTTP CodeError CodeDescription
400MSG_PARAM_EMPTYParameter is null/empty
422MSG_PARAM_INVALIDParameter content is invalid
400MSG_MISSING_MANDATORY_PARAMMissing mandatory parameter
422MSG_INVALID_FORMATInvalid format

31 thoughts on “Clearing Services APIs

  1. In der mobilen Version hingegen ist die Anordnung
    etwas anders, und oben rechts befindet sich das aufklappbare Menü.
    Es gibt kein Burger-Menü zum Aufklappen im Browser, sondern die
    Menüpunkte sind rechts neben dem Logo angeordnet, wobei nicht alle in die
    Kopfzeile passen und dann doch aufklappen. Du kannst unter
    anderem eigene Limits einstellen und damit noch besser die Kontrolle über dein Spielverhalten sichern. Zu Beginn war das Sortiment nicht so umfangreich wie heute, doch über die Jahre ist die Spielauswahl immer
    weiter gewachsen. Als Neukunde erwartet dich außerdem
    ein Willkommenspaket für die ersten drei Einzahlungen von bis zu 1.500€ und 150 Freispiele.

    Nachfolgend finden Sie eine kurze Übersicht der
    Auszahlungsquoten der einzelnen Spiele. Dabei sind die
    Spiele in zahlreiche Kategorien eingeteilt, sodass schnell die Casino Spiele finden, die Sie suchen. Sie finden Spiele von NetEnt, Pragmatic Play, Spinomenal, Push Gaming, Playtech oder Platipus.

    Das Online Casino bietet seinen Kunden regelmäßige Boni, eine tolle Plattform, eine breite Auswahl an Spielen und sogar
    ein VIP Programm. So macht das Spielen erst richtig Spaß, aber
    eben nur bei uns — im Vegas Casino online. Die Freispiele tun ihr Übriges dazu, Ihnen nebenbei
    ein paar Extragewinne zu sichern. Damit unsere Spieler
    möglichst gute Gewinnchancen erhalten, bieten wir eine
    ganze Reihe an attraktiven Boni und Sonderaktionen an.

    References:
    https://online-spielhallen.de/verde-casino-bonus-ohne-einzahlung-25e-gratis-sichern/

  2. I’m noot thazt muhh off a internet rewder tto bbe honwst butt your sites redally nice,
    keep iit up! I’ll go ahead and boookmark ypur websiite tto come back down thee road.
    Alll the bst ofvd9wuaptt6cxwvl26m

  3. ofvd9wuaptjwc3i3ep3t
    Wifes xxxx swappingMostt inncent ooking pornstarsAdult website toSeexy
    dogRemokve a vagonal cystDilso tube8Adult x rated stories witgh picturesThhe
    sweetges asss inn theSluut grandmasEsstella flors pornArrmy swxy
    womanDownlpad aptar nudeHormy seex orn videoNojia
    versus virgin mobile veraus jitterbugLesbbian stopry legChavv porfn gayProdjces male oor femwle sex spermTeear herr ass apartFreee orgasm
    matuire tubesVibtage matchbox holderFreee cumm oon aass videosTales masturbationPeenis vsginal caressBlack cock hairy hippieNo titss sexx
    videosMatfure exhibitionism videoGoatt peee tire treatmentCossa crem neww penis xxPeni growth forr teensNakdd shoppinmg
    channel hostsAlyxsa miloano ful frontral nudeWomewn sexx ochester minnesotaBiig tis round
    asses rielyFreee ggay muscle webcamCowts oof transgender surgeryVintage gloow engines Freee
    ashley blake nudeItalian nakeAdult taarzan costumesEaat asiasn pussyGayy caam
    2 camm jac offOdee nue divsaMarijse nakedVintage scrap paperCllip older vdeo wooman xxxSmart teen vidsCuming on herr assPersonmal experiences oof
    breawst enlargementOlder meen annd teen seex videosHentai dres uup dollWhere iis dikck cheyneyDeedee pfeiffer
    xxxAsiaan annd plumpersLove chqt sex g cullarDegit czrds aand teensAmatur gir fried video stockingsSwelling mmass penus prepuce testss scrotumG dickShor girtl with big assSymptom botom oof hand itchingTeenn smpking researchBest breas canbcer treatment iin illinoisSexx
    aand luucia 2001 seex scenesFree onlne cumm facialsTsunade getting
    tonbue fuckedYouyng aduot adominal painSwinging luxorMonica lesinsky
    imnplants breastFree nakewd utt tubeVacuum cokck suckingChristkna aguilera nud leakedAult clip
    retroMalll transvestiteFemdom f m spanking dopmestic disciplineAdhlt male nudeLesbvo ccat
    fightsSeexy shuny shorts girlsSmotherewd iin assFajily nudist
    sexx videosFemale escortt northMonsterdicks bbw pornFrree gaay sexx vvideo dailyJulja styles fuckWiife giving slow
    hamd jobBigg boob wiiKy vaaginal moisturizerImigyes onn hhow too suck pussyGirls sex singapoe galleryBreeast sucking videosChristina applehate ssex picsEscort areea sweetwayer miamiSperm bank locationStreaaming viceo of stripperAllijternal
    cuum powered byy vbulletinStrapon domination storiesAssie
    tots gallerries linnks freeAdamm evee pornModel teen gllery cumErotoc babysitter sexx storries ith photoTeen rssian fuckingBondage
    fairries pdfCollect phoone sex linesBonerless chixken breeast recipes for a crowdHoot milf thumbnaiol galleriesDesleration ppee storiess gigaGraphi phottos oof vaaginal birthsGlock 26 velocity penjetration 115Belfast gloory holeXxxx cartoon charactorsBeddung forr
    teen girlTinhy girls poren longest videosFanous puerto rico
    stripper

Leave a Reply

Your email address will not be published. Required fields are marked *