mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 08:54:34 -04:00
Expenses yaml updates
This commit is contained in:
parent
bc5f9c1b8a
commit
2b0f793fd4
@ -3,27 +3,31 @@
|
|||||||
id:
|
id:
|
||||||
description: 'The expense hashed id'
|
description: 'The expense hashed id'
|
||||||
type: string
|
type: string
|
||||||
example: Opnel5aKBz
|
example: 'Opnel5aKBz'
|
||||||
user_id:
|
user_id:
|
||||||
description: 'The user hashed id'
|
description: 'The user hashed id'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
assigned_user_id:
|
assigned_user_id:
|
||||||
description: 'The assigned user hashed id'
|
description: 'The assigned user hashed id'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
|
project_id:
|
||||||
|
description: 'The associated project_id'
|
||||||
|
type: string
|
||||||
|
example: 'Opnel5aKBz'
|
||||||
company_id:
|
company_id:
|
||||||
description: 'The company hashed id'
|
description: 'The company hashed id'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
client_id:
|
client_id:
|
||||||
description: 'The client hashed id'
|
description: 'The client hashed id'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
invoice_id:
|
invoice_id:
|
||||||
description: 'The related invoice hashed id'
|
description: 'The related invoice hashed id'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
bank_id:
|
bank_id:
|
||||||
description: 'The bank id related to this expense'
|
description: 'The bank id related to this expense'
|
||||||
type: string
|
type: string
|
||||||
@ -31,15 +35,15 @@
|
|||||||
invoice_currency_id:
|
invoice_currency_id:
|
||||||
description: 'The currency id of the related invoice'
|
description: 'The currency id of the related invoice'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: '1'
|
||||||
expense_currency_id:
|
expense_currency_id:
|
||||||
description: 'The currency id of the expense'
|
description: 'The currency id of the expense'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: '2'
|
||||||
invoice_category_id:
|
invoice_category_id:
|
||||||
description: 'The invoice category id'
|
description: 'The invoice category id'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
payment_type_id:
|
payment_type_id:
|
||||||
description: 'The payment type id'
|
description: 'The payment type id'
|
||||||
type: string
|
type: string
|
||||||
@ -47,7 +51,7 @@
|
|||||||
recurring_expense_id:
|
recurring_expense_id:
|
||||||
description: 'The related recurring expense this expense was created from'
|
description: 'The related recurring expense this expense was created from'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'Opnel5aKBz'
|
||||||
private_notes:
|
private_notes:
|
||||||
description: 'The private notes of the expense'
|
description: 'The private notes of the expense'
|
||||||
type: string
|
type: string
|
||||||
@ -80,30 +84,34 @@
|
|||||||
description: 'A custom value'
|
description: 'A custom value'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: ''
|
||||||
|
tax_amount:
|
||||||
|
description: 'The tax amount'
|
||||||
|
type: number
|
||||||
|
example: 10.00
|
||||||
tax_name1:
|
tax_name1:
|
||||||
description: 'Tax name'
|
description: 'Tax Name 1'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'GST'
|
||||||
tax_name2:
|
tax_name2:
|
||||||
description: 'Tax name'
|
description: 'Tax Name 2'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: 'VAT'
|
||||||
|
tax_name3:
|
||||||
|
description: 'Tax Name 3'
|
||||||
|
type: string
|
||||||
|
example: 'IVA'
|
||||||
tax_rate1:
|
tax_rate1:
|
||||||
description: 'Tax rate'
|
description: 'Tax rate 1'
|
||||||
type: number
|
type: number
|
||||||
format: float
|
format: float
|
||||||
example: '10.00'
|
example: '10.00'
|
||||||
tax_rate2:
|
tax_rate2:
|
||||||
description: 'Tax rate'
|
description: 'Tax rate 2'
|
||||||
type: number
|
type: number
|
||||||
format: float
|
format: float
|
||||||
example: '10.00'
|
example: '10.00'
|
||||||
tax_name3:
|
|
||||||
description: 'Tax name'
|
|
||||||
type: string
|
|
||||||
example: ''
|
|
||||||
tax_rate3:
|
tax_rate3:
|
||||||
description: 'Tax rate'
|
description: 'Tax rate 3'
|
||||||
type: number
|
type: number
|
||||||
format: float
|
format: float
|
||||||
example: '10.00'
|
example: '10.00'
|
||||||
@ -123,13 +131,13 @@
|
|||||||
format: float
|
format: float
|
||||||
example: '0.80'
|
example: '0.80'
|
||||||
date:
|
date:
|
||||||
description: 'The expense date formate Y-m-d'
|
description: 'The expense date format Y-m-d'
|
||||||
type: string
|
type: string
|
||||||
example: '2022-12-01'
|
example: '2022-12-01'
|
||||||
payment_date:
|
payment_date:
|
||||||
description: 'The date of payment for the expense, format Y-m-d'
|
description: 'The date of payment for the expense, format Y-m-d'
|
||||||
type: string
|
type: string
|
||||||
example: ''
|
example: '2022-12-01'
|
||||||
should_be_invoiced:
|
should_be_invoiced:
|
||||||
description: 'Flag whether the expense should be invoiced'
|
description: 'Flag whether the expense should be invoiced'
|
||||||
type: boolean
|
type: boolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user