mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-27 07:42:53 -04:00 
			
		
		
		
	* Fixes for invoice item line totals * Refactoring invoice calculations * Update api-docs * Fixes for invoice calculations * remove tests * fixes for config files
		
			
				
	
	
		
			43 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * @OA\Schema(
 | |
|  *   schema="Invoice",
 | |
|  *   type="object",
 | |
|  *       @OA\Property(property="id", type="string", example="Opnel5aKBz", description="_________"),
 | |
|  *       @OA\Property(property="user_id", type="string", example="", description="__________"),
 | |
|  *       @OA\Property(property="company_id", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="client_id", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="status_id", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="invoice_type_id", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="invoice_number", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="po_number", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="terms", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="public_notes", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="private_notes", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="footer", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="custom_value1", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="custom_value2", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="custom_value3", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="custom_value4", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="tax_name1", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="tax_name2", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="tax_rate1", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="tax_rate2", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="tax_name3", type="string", example="", description="________"),
 | |
|  *       @OA\Property(property="tax_rate3", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="line_items", type="object", example="", description="_________"),
 | |
|  *       @OA\Property(property="amount", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="balance", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="discount", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="partial", type="number", format="float", example="10.00", description="_________"),
 | |
|  *       @OA\Property(property="is_amount_discount", type="boolean", example=true, description="_________"),
 | |
|  *       @OA\Property(property="is_deleted", type="boolean", example=true, description="_________"),
 | |
|  *       @OA\Property(property="invoice_date", type="string", format="date", example="1994-07-30", description="_________"),
 | |
|  *       @OA\Property(property="partial_due_date", type="string", format="date", example="1994-07-30", description="_________"),
 | |
|  *       @OA\Property(property="due_date", type="string", format="date", example="1994-07-30", description="_________"),
 | |
|  *       @OA\Property(property="settings",ref="#/components/schemas/CompanySettings"),
 | |
|  *       @OA\Property(property="last_viewed", type="number", format="integer", example="1434342123", description="Timestamp"),
 | |
|  *       @OA\Property(property="updated_at", type="number", format="integer", example="1434342123", description="Timestamp"),
 | |
|  *       @OA\Property(property="archived_at", type="number", format="integer", example="1434342123", description="Timestamp"),
 | |
|  * )
 | |
|  */ |