Signatur | string bill__create( string $sid [, string $type [, string $belegnr [, string $customer [, string $positions [, bool $ignore_nonexisting [, ext_order_values $ext_order_values [, int|null $allow_partial_delivery [, numberranges_data $numberranges_data]]]]]]]] ) |
Parameter |
|
Returns | string Array( 'bill_id', 'type', 'belegnr', 'uid', 'positions' ) |
Description | Create bill, optionally try to use specific belegnr, zuletzt geändert am __TICKET_NAME_RSFK-207__ Creates a bill and tries to use $belegnr (if given). If $belegnr is already in use, use next free belegnr by calling get_free_belegnr() The numberranges_data array may contain the following parameters dk_land dk_delivery_land contract_source webshop_order_shop_id $webshop_order_subshop_id ext_order_type ext_order_account_id ext_order_sub_account_id best_type (Besteuerungsart: 'N'=>Normalbesteuerung, 'D'=>Differenzbesteuerung, 'M'=>Mischbesteuerung) The ext_order_values array may contain the following parameters type account_id sub_account_id id external_id payment_order_id payment_type date time status status_msg |