====== Recurring Templates ====== Recurring templates are used to generate invoices automatically on a recurring basis. ====== Create Recurring Profiles ====== recurring.create The method arguments are similar to invoice.create, though the following fields are present: recurring_title - template title * recurring_start_date_from - recurring start date * recurring_frequency - recurring frequency * recurring_period - recurring period Recurring templates have also a list of associated clients. ===== Request ===== USD //mandatory 8.75% //percent 3.45 NET 60//mandatory possible values: NET 15, NET 30, NET 45, NET 60, or date: e.g. 2007-09-28 1.5% //mandatory possible values: 1%, 1.5%, 2% or amount: e.g. 1.45 Recurring 1 2007-11-30 2 //mandatory month //mandatory possible values: day, week, month, year tag1 tag2 tag3 //must have at least 1 line 2 Hours //mandatory possible values: Hours, Days, Product, Expense description1 1 //possible values: 1 (have tax) or 0 1.00 //must be numeric value 2 Days description2 0 2.00 2 Product descr3 1 3.00 1 2 ===== Response ===== 1 ====== Update Recurring Templates ====== recurring.update Update an existing recurring with the given recurring_id. Any recurring template fields left out of the request will remain unchanged. * If you do not specify a element, the existing lines will remain unchanged. * If you do not specify a element, the existing associated clients will remain unchanged. ===== Request ===== 1 # Recurring template to update # Remaining arguments same as recurring.create ===== Response ===== ====== Get Recurring Templates ====== reccuring.get Return the complete recurring template details associated with the given recurring_id. ===== Request ===== 1 ===== Response ===== USD 8.75% 3.45 NET 60 1.5% Recurring 1 2007-11-30 2 month tag1 tag2 tag3 2 Hours description1 1 1.00 2 Days description2 0 2.00 2 Product descr3 1 3.00 1 2 ====== Delete Recurring Template ====== recurring.delete Delete an existing recurring template. ===== Request ===== 1 ===== Response ===== ====== List Recurring Templates ====== recurring.list Returns a list of recurring template summaries. ===== Request ===== 1 # Page number to return, default is 1 (Optional) 10 # Number of results per page, default is 25 (Optional) ===== Response ===== USD 8.75% 3.45 NET 60 1.5% Recurring 1 2007-11-30 2 month tag1 tag2 tag3 2 Hours description1 1 1.00 2 Days description2 0 2.00 2 Product descr3 1 3.00 1 2