The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
API browser of generalInvoiceRequest450 COM module
IGeneralInvoiceRequest::SetProcessing method | |||
---|---|---|---|
Sets the defined processing information that are in effect at the site of the last intermediate. | |||
Restful webservice calling syntax | |||
[POST] | /baseURL/IGeneralInvoiceRequest/SetProcessing | ||
[JSON input data] | pIGeneralInvoiceRequest: ePrintAtIntermediate: ePrintGuarantorCopy: bstrTCToken: |
longValue, //interface address longValue, longValue, "utf8StringValue" |
|
[JSON result data] | pbStatus: | 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. | ||
C/C++ calling syntax | |||
HRESULT SetProcessing( | YesNoType
YesNoType BSTR VARIANT_BOOL |
ePrintAtIntermediate,
ePrintGuarantorCopy, bstrTCToken, *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. | ||
Calling argument description | |||
[in] YesNoType | ePrintAtIntermediate | The Boolean ePrintAtIntermediate is a processing instruction for the last intermediate in a Tiers Garant case. The attribute denotes if the invoice/reminder should be printed and mailed to the debitor (ePrintAtIntermediate=enYes) or if this print process was already done at the practice (ePrintAtIntermediate=enNo).
Note, that this instruction is significant for the last intermediate only. If an infoset is sent to any party for statistical purposes then this party must not be included as intermediate. |
|
[in] YesNoType | ePrintGuarantorCopy | The Boolean ePrintPatientCopy is an instruction for the last intermediate in a Tiers Payant case regarding a printed copy of the invoice to the guarantor's address, basically to fulfill the legal requirement of a "patient copy".
On this printed copy the ESR coding line must be absent, the copy field should be set to "yes", and the title of the invoice should be adapted accordingly to designate the copy situation. Furthermore any attached documents are not included/printed in the copy. Note, that this instruction is significant for the last intermediate only. If an infoset is sent to any party for statistical purposes then this party must not be included as intermediate. |
|
[in] BSTR | bstrTCToken | The optional 2-digit Trust Center token that basically is a routing information which TC to use.
This information is possibly set for role=enRolePhysician only. |
|
[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. | |