|  | @@ -259,9 +259,10 @@ def get_order_c():
 | 
	
		
			
				|  |  |  def get_invoice(items = True, discounts = True):
 | 
	
		
			
				|  |  |      inv = finoex.Invoice(
 | 
	
		
			
				|  |  |              creditor = u'platformπ',
 | 
	
		
			
				|  |  | -            invoice_id = u'id',
 | 
	
		
			
				|  |  | -            invoice_date = datetime.datetime(2016, 5, 8, 0, 18, 17),
 | 
	
		
			
				|  |  |              debitor_id = u'customer',
 | 
	
		
			
				|  |  | +            invoice_date = datetime.datetime(2016, 5, 8, 0, 18, 17),
 | 
	
		
			
				|  |  | +            invoice_id = u'id',
 | 
	
		
			
				|  |  | +            invoice_url = 'http://example.com/invoice.pdf',
 | 
	
		
			
				|  |  |              )
 | 
	
		
			
				|  |  |      if items:
 | 
	
		
			
				|  |  |          inv.items.append(get_item_a())
 | 
	
	
		
			
				|  | @@ -495,6 +496,7 @@ discounts:
 | 
	
		
			
				|  |  |    name: discount a
 | 
	
		
			
				|  |  |  invoice_date: 2016-05-08 00:18:17
 | 
	
		
			
				|  |  |  invoice_id: id
 | 
	
		
			
				|  |  | +invoice_url: http://example.com/invoice.pdf
 | 
	
		
			
				|  |  |  items:
 | 
	
		
			
				|  |  |  - !item
 | 
	
		
			
				|  |  |    name: item a
 | 
	
	
		
			
				|  | @@ -702,6 +704,7 @@ creditor: platformπ
 | 
	
		
			
				|  |  |  debitor_id: customer
 | 
	
		
			
				|  |  |  invoice_date: 2016-05-08T00:18:17
 | 
	
		
			
				|  |  |  invoice_id: id
 | 
	
		
			
				|  |  | +invoice_url: http://example.com/invoice.pdf
 | 
	
		
			
				|  |  |  items:
 | 
	
		
			
				|  |  |  - !item
 | 
	
		
			
				|  |  |    name: item a
 |