1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/test/fixtures/accounting_lines.yml
Sylvain af3def0e2e (feat) save the accounting data in DB
Previously, the accounting data were built on demand,
extracting the data from the invoices on-the-fly.
This is intended to be used only once in a while, so there was
no performance issue with that.
Now, we want those data to be accessed from the OpenAPI,
so building them on-the-fly would be very much
intensive and resouces heavy. So we build them each nights
using a scheduled worker and save them in the database
2022-12-21 14:11:40 +01:00

545 lines
13 KiB
YAML

accounting_line_1:
id: 1
line_type: client
journal_code: '530'
date: '2012-03-12 11:03:31.651441'
account_code: '5801'
account_label: Client card
analytical_code: ''
invoice_id: 1
invoicing_profile_id: 3
debit: 10000
credit: 0
currency: EUR
summary: 1604001/VL, subscr.
created_at: '2022-11-18 15:04:08.437029'
updated_at: '2022-11-18 15:04:08.437029'
accounting_line_2:
id: 2
line_type: item
journal_code: '530'
date: '2012-03-12 11:03:31.651441'
account_code: '7061'
account_label: Subscription
analytical_code:
invoice_id: 1
invoicing_profile_id: 3
debit: 0
credit: 10000
currency: EUR
summary: 1604001/VL, subscr.
created_at: '2022-11-18 15:04:08.455753'
updated_at: '2022-11-18 15:04:08.455753'
accounting_line_3:
id: 3
line_type: client
journal_code: '530'
date: '2012-03-12 13:40:22.342717'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 2
invoicing_profile_id: 4
debit: 2000
credit: 0
currency: EUR
summary: 1604002, subscr.
created_at: '2022-11-18 15:04:08.463802'
updated_at: '2022-11-18 15:04:08.463802'
accounting_line_4:
id: 4
line_type: item
journal_code: '530'
date: '2012-03-12 13:40:22.342717'
account_code: '7061'
account_label: Subscription
analytical_code:
invoice_id: 2
invoicing_profile_id: 4
debit: 0
credit: 2000
currency: EUR
summary: 1604002, subscr.
created_at: '2022-11-18 15:04:08.471904'
updated_at: '2022-11-18 15:04:08.471904'
accounting_line_5:
id: 5
line_type: client
journal_code: '530'
date: '2015-06-10 11:20:01.341130'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 3
invoicing_profile_id: 7
debit: 3000
credit: 0
currency: EUR
summary: 1203001, subscr.
created_at: '2022-11-18 15:04:08.480362'
updated_at: '2022-11-18 15:04:08.480362'
accounting_line_6:
id: 6
line_type: item
journal_code: '530'
date: '2015-06-10 11:20:01.341130'
account_code: '7061'
account_label: Subscription
analytical_code:
invoice_id: 3
invoicing_profile_id: 7
debit: 0
credit: 3000
currency: EUR
summary: 1203001, subscr.
created_at: '2022-11-18 15:04:08.488755'
updated_at: '2022-11-18 15:04:08.488755'
accounting_line_7:
id: 7
line_type: client
journal_code: '530'
date: '2016-04-05 08:35:52.931187'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 4
invoicing_profile_id: 7
debit: 0
credit: 0
currency: EUR
summary: 1203002, training reserv.
created_at: '2022-11-18 15:04:08.497148'
updated_at: '2022-11-18 15:04:08.497148'
accounting_line_8:
id: 8
line_type: item
journal_code: '530'
date: '2016-04-05 08:35:52.931187'
account_code: '7062'
account_label: Training reservation
analytical_code:
invoice_id: 4
invoicing_profile_id: 7
debit: 0
credit: 0
currency: EUR
summary: 1203002, training reserv.
created_at: '2022-11-18 15:04:08.505540'
updated_at: '2022-11-18 15:04:08.505540'
accounting_line_9:
id: 9
line_type: client
journal_code: '530'
date: '2016-04-05 08:36:46.853368'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 5
invoicing_profile_id: 3
debit: 1500
credit: 0
currency: EUR
summary: 1506031, machine reserv.
created_at: '2022-11-18 15:04:08.513708'
updated_at: '2022-11-18 15:04:08.513708'
accounting_line_10:
id: 10
line_type: item
journal_code: '530'
date: '2016-04-05 08:36:46.853368'
account_code: '7065'
account_label: Machine reservation
analytical_code:
invoice_id: 5
invoicing_profile_id: 3
debit: 0
credit: 1500
currency: EUR
summary: 1506031, machine reserv.
created_at: '2022-11-18 15:04:08.522222'
updated_at: '2022-11-18 15:04:08.522222'
accounting_line_11:
id: 11
line_type: client
journal_code: '530'
date: '2021-01-04 14:51:21.616153'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 6
invoicing_profile_id: 8
debit: 3000
credit: 0
currency: EUR
summary: 2101041, subscr.
created_at: '2022-11-18 15:04:08.530494'
updated_at: '2022-11-18 15:04:08.530494'
accounting_line_12:
id: 12
line_type: item
journal_code: '530'
date: '2021-01-04 14:51:21.616153'
account_code: '7061'
account_label: Subscription
analytical_code:
invoice_id: 6
invoicing_profile_id: 8
debit: 0
credit: 3000
currency: EUR
summary: 2101041, subscr.
created_at: '2022-11-18 15:04:08.538721'
updated_at: '2022-11-18 15:04:08.538721'
accounting_line_13:
id: 13
line_type: client
journal_code: '530'
date: '2022-09-20 15:14:22.873707'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 5811
invoicing_profile_id: 3
debit: 4500
credit: 0
currency: EUR
summary: 2209002, shop order
created_at: '2022-11-18 15:04:08.547966'
updated_at: '2022-11-18 15:04:08.547966'
accounting_line_14:
id: 14
line_type: item
journal_code: '530'
date: '2022-09-20 15:14:22.873707'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5811
invoicing_profile_id: 3
debit: 0
credit: 4000
currency: EUR
summary: 2209002, shop order
created_at: '2022-11-18 15:04:08.556504'
updated_at: '2022-11-18 15:04:08.556504'
accounting_line_15:
id: 15
line_type: item
journal_code: '530'
date: '2022-09-20 15:14:22.873707'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5811
invoicing_profile_id: 3
debit: 0
credit: 500
currency: EUR
summary: 2209002, shop order
created_at: '2022-11-18 15:04:08.563733'
updated_at: '2022-11-18 15:04:08.563733'
accounting_line_16:
id: 16
line_type: client
journal_code: '530'
date: '2022-09-20 15:14:48.345927'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 5812
invoicing_profile_id: 7
debit: 6000
credit: 0
currency: EUR
summary: 2209004, shop order
created_at: '2022-11-18 15:04:08.571992'
updated_at: '2022-11-18 15:04:08.571992'
accounting_line_17:
id: 17
line_type: item
journal_code: '530'
date: '2022-09-20 15:14:48.345927'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5812
invoicing_profile_id: 7
debit: 0
credit: 6000
currency: EUR
summary: 2209004, shop order
created_at: '2022-11-18 15:04:08.580452'
updated_at: '2022-11-18 15:04:08.580452'
accounting_line_18:
id: 18
line_type: client
journal_code: '530'
date: '2022-10-04 12:36:03.060832'
account_code: '5801'
account_label: Client card
analytical_code: ''
invoice_id: 5816
invoicing_profile_id: 4
debit: 319
credit: 0
currency: EUR
summary: 2210002/VL, shop order
created_at: '2022-11-18 15:04:08.589664'
updated_at: '2022-11-18 15:04:08.589664'
accounting_line_19:
id: 19
line_type: item
journal_code: '530'
date: '2022-10-04 12:36:03.060832'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5816
invoicing_profile_id: 4
debit: 0
credit: 119
currency: EUR
summary: 2210002/VL, shop order
created_at: '2022-11-18 15:04:08.598371'
updated_at: '2022-11-18 15:04:08.598371'
accounting_line_20:
id: 20
line_type: item
journal_code: '530'
date: '2022-10-04 12:36:03.060832'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5816
invoicing_profile_id: 4
debit: 0
credit: 200
currency: EUR
summary: 2210002/VL, shop order
created_at: '2022-11-18 15:04:08.613961'
updated_at: '2022-11-18 15:04:08.613961'
accounting_line_21:
id: 21
line_type: client
journal_code: '530'
date: '2022-10-04 13:54:42.975196'
account_code: '5801'
account_label: Client card
analytical_code: ''
invoice_id: 5817
invoicing_profile_id: 4
debit: 1295
credit: 0
currency: EUR
summary: 2210004/VL, shop order
created_at: '2022-11-18 15:04:08.622056'
updated_at: '2022-11-18 15:04:08.622056'
accounting_line_22:
id: 22
line_type: item
journal_code: '530'
date: '2022-10-04 13:54:42.975196'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5817
invoicing_profile_id: 4
debit: 0
credit: 95
currency: EUR
summary: 2210004/VL, shop order
created_at: '2022-11-18 15:04:08.630519'
updated_at: '2022-11-18 15:04:08.630519'
accounting_line_23:
id: 23
line_type: item
journal_code: '530'
date: '2022-10-04 13:54:42.975196'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5817
invoicing_profile_id: 4
debit: 0
credit: 1200
currency: EUR
summary: 2210004/VL, shop order
created_at: '2022-11-18 15:04:08.640333'
updated_at: '2022-11-18 15:04:08.640333'
accounting_line_24:
id: 24
line_type: client
journal_code: '530'
date: '2022-10-04 14:04:12.742685'
account_code: '5801'
account_label: Client card
analytical_code: ''
invoice_id: 5818
invoicing_profile_id: 4
debit: 1000
credit: 0
currency: EUR
summary: 2210006/VL, shop order
created_at: '2022-11-18 15:04:08.656104'
updated_at: '2022-11-18 15:04:08.656104'
accounting_line_25:
id: 25
line_type: item
journal_code: '530'
date: '2022-10-04 14:04:12.742685'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5818
invoicing_profile_id: 4
debit: 0
credit: 1000
currency: EUR
summary: 2210006/VL, shop order
created_at: '2022-11-18 15:04:08.663862'
updated_at: '2022-11-18 15:04:08.663862'
accounting_line_26:
id: 26
line_type: client
journal_code: '530'
date: '2022-10-04 14:17:52.854636'
account_code: '5801'
account_label: Client card
analytical_code: ''
invoice_id: 5819
invoicing_profile_id: 4
debit: 4002
credit: 0
currency: EUR
summary: 2210008/VL, shop order
created_at: '2022-11-18 15:04:08.672150'
updated_at: '2022-11-18 15:04:08.672150'
accounting_line_27:
id: 27
line_type: item
journal_code: '530'
date: '2022-10-04 14:17:52.854636'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5819
invoicing_profile_id: 4
debit: 0
credit: 2
currency: EUR
summary: 2210008/VL, shop order
created_at: '2022-11-18 15:04:08.680577'
updated_at: '2022-11-18 15:04:08.680577'
accounting_line_28:
id: 28
line_type: item
journal_code: '530'
date: '2022-10-04 14:17:52.854636'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5819
invoicing_profile_id: 4
debit: 0
credit: 4000
currency: EUR
summary: 2210008/VL, shop order
created_at: '2022-11-18 15:04:08.688864'
updated_at: '2022-11-18 15:04:08.688864'
accounting_line_29:
id: 29
line_type: client
journal_code: '530'
date: '2022-10-04 14:25:37.291945'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 5820
invoicing_profile_id: 3
debit: 12000
credit: 0
currency: EUR
summary: 2210010, shop order
created_at: '2022-11-18 15:04:08.697635'
updated_at: '2022-11-18 15:04:08.697635'
accounting_line_30:
id: 30
line_type: item
journal_code: '530'
date: '2022-10-04 14:25:37.291945'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5820
invoicing_profile_id: 3
debit: 0
credit: 12000
currency: EUR
summary: 2210010, shop order
created_at: '2022-11-18 15:04:08.705822'
updated_at: '2022-11-18 15:04:08.705822'
accounting_line_31:
id: 31
line_type: client
journal_code: '530'
date: '2022-10-04 14:32:28.204985'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 5821
invoicing_profile_id: 2
debit: 12000
credit: 0
currency: EUR
summary: 2210012, shop order
created_at: '2022-11-18 15:04:08.713849'
updated_at: '2022-11-18 15:04:08.713849'
accounting_line_32:
id: 32
line_type: item
journal_code: '530'
date: '2022-10-04 14:32:28.204985'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5821
invoicing_profile_id: 2
debit: 0
credit: 12000
currency: EUR
summary: 2210012, shop order
created_at: '2022-11-18 15:04:08.722579'
updated_at: '2022-11-18 15:04:08.722579'
accounting_line_33:
id: 33
line_type: client
journal_code: '530'
date: '2022-10-04 14:35:40.584472'
account_code: '5803'
account_label: Client other
analytical_code: ''
invoice_id: 5822
invoicing_profile_id: 2
debit: 3000
credit: 0
currency: EUR
summary: 2210014, shop order
created_at: '2022-11-18 15:04:08.731248'
updated_at: '2022-11-18 15:04:08.731248'
accounting_line_34:
id: 34
line_type: item
journal_code: '530'
date: '2022-10-04 14:35:40.584472'
account_code: '7067'
account_label: Shop order
analytical_code:
invoice_id: 5822
invoicing_profile_id: 2
debit: 0
credit: 3000
currency: EUR
summary: 2210014, shop order
created_at: '2022-11-18 15:04:08.739474'
updated_at: '2022-11-18 15:04:08.739474'