actindo ->bill__print_beleg_1
actindo -> bill__print_beleg_1: Print bill
Signaturstring bill__print_beleg_1( string $sid, int $billId [, boolean $only_book [, print_params $print [, email_params $send]]] )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $billId
    bill id
     
  • boolean $only_book
    book only? defaults to false
     
  • print_params $print
    printing-related parameter array
     
  • email_params $send
    email-related parameter array
     
Returnsstring
array( 'ok'=>TRUE/FALSE, 'pdf_url'=>string pdf url, 'pdf'=>base64-encoded filecontent pdf file, 'pdf_md5'=>string md5 key of returned pdf file, 'messages'=>array success messages, 'errors'=>array error messages )
 
DescriptionPrint bill

the parameter array $print has following attributes:
beleg_status:string
bill status

beleg_status_text:string
bill status text

book_do:int
1:booking enabled, 0:booking disabled

book_with_doc:int
1:booking with document enabled, 0:booking with document disabled


the parameter array $send has following attributes:
subject:string
eMail subject

send_do:int
1:send eMail, 0:do not send eMail

to:string
eMail address

send_txt_id:int
ID of existing text component (ID eines vorhandenen Textbausteins)

send_txt:string
eMail text

for each parameter array, just set the attributes you need, everything else has to be ignored!
(Geben Sie in den Parametern $print und $send nur die Werte an, die nötig sind - alles andere dürfen Sie ignorieren!)