createInvoiceForInvoiceType(long, long, Long, String, String, String, Long, Duration, Duration, Long, Map< Integer, String >, Duration, Date, Date, long) method

Creates a new Invoice for an Invoice Type.

Syntax

long createInvoiceForInvoiceType ( long customerId , long invoiceTypeId , Long amount , String currency , String reference , String alias , Long authorisationThreshold , Duration autoPayDelay , Duration billingCycle , Long defaultPi , Map< Integer, String > attributes , Duration maxDelay , Date startDate , Date endDate , long callerId )

Parameters

Returns

the Invoice id that was created.

Usage

In case the required InvoiceConfiguration in between is missing, it is created automatically.

the Invoice id that was created.