The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
API browser of generalInvoiceRequest500 COM module
![]() |
![]() |
||
---|---|---|---|
Gets the tiers mode and some additional data like the VAT number. | |||
![]() | |||
![]() |
|||
[POST] | /baseURL/IGeneralInvoiceResult/GetTiers | ||
[JSON input data] | pIGeneralInvoiceResult: | longValue, //interface address |
|
[JSON result data] | peTiersMode: pePatientAllowTS: peAllowTPModification: pbstrVatNumber: pdAmountPrepaid: pbStatus: |
longValue, longValue, longValue, "utf8StringValue", doubleValue, booleanValue |
|
[HTTP result status] | 200 | Return status 200 signals a successful method call | |
204 | Return status 204 (noContent) signals that the end of an iteration is reached | ||
>= 400 | Return status >= 400 signals an unsuccessful function call. The returned JSON{errorCode: code, errorText:"text"} supplies the error message the same as GetAbortInfo() would do. | ||
![]() | |||
![]() |
|||
HRESULT GetTiers( | TiersModeType
YesNoType YesNoType BSTR double VARIANT_BOOL |
*peTiersMode,
*pePatientAllowTS, *peAllowTPModification, *pbstrVatNumber, *pdAmountPrepaid, *pbStatus); |
|
[C/C++ return value] | S_OK | This value is returned if the function call was successful. | |
S_FALSE | This value is returned if the end of an iteration is reached | ||
E_name | This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions. | ||
![]() | |||
![]() |
|||
[out] TiersModeType | *peTiersMode | The tiers mode ("Tiers Garant" or "Tiers Soldant" or "Tiers Payant") as defined in the TiersMode enumeration. | |
[out] YesNoType | *pePatientAllowTS | This Boolean confirms that the patient allows the usage of Tiers Soldant (TS). Furthermore, it implies the existence of a salary cession document signed by the patient and included as PDF attachment. Please note, that if ePatientAllowTS=enNo then the request should not be processed at the insurance's site but rejected due to the missing approval. |
|
[out] YesNoType | *peAllowTPModification | The Boolean eAllowTPModification gives or denies the placet for the health care insurance to correct quantities of supplied services.
The service quantity can be changed in the range R0+ (positive real numbers including zero), which changes the amounts of individual services as well as the total invoice amount and the vat accounting. Please note that if eAllowTPModification=enNo, the entire request should be rejected if the insurance company questions one or more services. |
|
[out] BSTR | *pbstrVatNumber | The VAT number of the biller as given by the "Swiss Federal Tax Administration"
The VAT number might be empty in the case non was defined by the federal authorities due special agreements. If given/defined than the VAT number is returned is its printed form as requested by the federal authorities. |
|
[out] double | *pdAmountPrepaid | The supplied prepaid amount.
The due amount is calculated as «amount + reminder amount - prepaid amount» |
|
[out,retval] VARIANT_BOOL | *pbStatus | Return status of the method. If pbStatus is VARIANT_FALSE then an error occurred and GetAbortInfo should be called to retrieve the error string. | |
![]() |