Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

The General Accounting Export allow to account manager to have more control and capacity to solve issues immediately.

...

The field "Accounting code required" is not taken into account (will disappear in the future, for the moment set the "No" value).

Fill the values on the previous image, only Interface name is needed.

Schedules

It is possible to generate two different reports, PNM or CSV formats.

...

NamePossible value or definition (if apply)Default valueMandatory
01/01/2023 00:00-No
30/06/2023 00:00-No
Line types

Sales, VAT, Payments, Analytic, Sales Compensation, Payments Compensation

Sales, VAT and PaymentsYes
Email recipient(s)name@secutix.com-No
OrderingFields by which to order accounting lines in file created, separated by ,
No
Amount formatting

0.00

0,00

0.00Yes

.

,

.Yes
Computed fieldsFormulas to calculate values for each file column pasted one after another. Max capacity of the box 4.000 characters (Following custom parameter box format). See details below. (Default CSV formula or PNM formula, specified below)-No

Yes
Only order ids

Generate a file with only the specified orders.

Notes:

line type must be in capital letters: LINE_TYPE

To put in descending order: field_name(DESC)

Ascending order by default for the specified fieldNo
The file will be created with the especific header

Yes

Only for PNM

With headersThe file will be created with headersMarked

Yes

Only for CSV

EncodingUTF-8UTF-8

No

Only for CSV

End of lineUnix / WindowsUnix

No

Only for CSV

Field separatorSeparator of the values, example: ' ' space, '     ' tabulationtabulation

No

Only for CSV

File to uploadIgnore

* If this field is empty, when executing the schedule twice straight away, the result field will be empty, because the default behavior take the last execution date and there isn't data.

Available formulas and how to write it for "Computed fields"

...

Code Block
code_journal="VTE"
date_de_piece=FORMAT(_order_date;yyMMdd)
compte_general=IF(OR(_line_type=SALE;_line_type=ANALYTIC);_accounting_code_1;_line_type=VAT;_vat_accounting_code_1;_accounting_code_1)
type_de_compte=IF(_line_type=ANALYTIC;"A";"G")
compte_auxiliaire_ou_analytique=IF(_line_type=ANALYTIC;_accounting_code_2;"")
reference_ecriture=_invoice_number
libelle=IF(OR(_line_type=SALE;_line_type=ANALYTIC);IF(_delayed_payment=Yes;"Vente "&IFERROR(_purchaser_structure_name;_purchaser_last_name&", "&_purchaser_first_name);_name);IF(_line_type=VAT;"TVA collectée à "&FORMAT(_vat_rate;0.00)&"%";_payment_method_internal_name))
mode_de_paiement="S"
date_d_echeance=IFERROR(_invoice_date;IFERROR(_order_date;""))
sens=_credit_debit
montant_en_monnaie_de_tenue_de_compte=_amount
type_d_ecriture="N"
zone_reservee=_sales_channel_code
code_iso_de_la_monnaie="EUR"

Available fields for formulas

Field name Example value
_order_date25.02.2023
_payment_date25.02.2023
_order_id20995
_line_id10228546422575
_typeDIRECT_PAYMENT / SALE / CREDIT_WAIT_ACCOUNT / DEBIT_WAIT_ACCOUNT / COMPENSATION_SALE / DEBIT_CREDIT_NOTE / REFUND / REFUND_CLIENT / VAT
_kindCOMPOSED_PRODUCT / CHARGES / SINGLE_ENTRY 
_accounting_code_1Visa / Credit / Pending / Voucher 
_accounting_code_2700000
_accounting_code_3CA9
_accounting_code_4
_accounting_code_5
_nameGift voucher / Championship / Cap / Season ticket
_product_familyINT_PRODFAM/SPORTING / INT_PRODFAM/GOODS / INT_PRODFAM/MEM
_item_date2022-10-14 18:30:00.0
_amount48000.00
_vat_rate5500
_vatcode_id15255
_operator_namePLC_TS
_contact_number10228546376027
_payment_saleP / S
_line_type

PAYMENT / SALE / VAT / ANALYTIC / COMPENSATION_SALE / COMPENSATION_PAYMENT

_payment_currencyEUR
_payment_method_codeCB
_payment_method_internal_nameCarte Bancaire
_card_typeVISA
_amount_without_vat48000
_credit_debitC / D
_vat_accounting_code_144571402
_vat_accounting_code_2
_vat_accounting_code_3
_vat_accounting_code_4
_vat_accounting_code_5
_invoice_numberSPORT-0000021
_invoice_date08.01.2023
_purchaser_contact_number38791
_purchaser_structure_nameFEDERAL EXPRESS FRANCE
_purchaser_first_nameJoe
_purchaser_last_nameBloggs
_sales_channel_codeTS
_sales_channel_internal_nameTicketshop Grand Public
_sc_accounting_code_1CA9
_sc_accounting_code_270121000
_sc_accounting_code_3
_sc_accounting_code_4
_sc_accounting_code_5
_delayed_paymentYes / No
_logical_seat_category_codeCat1 / Cat2 / Cat3 / Cat4 / Visitor
_product_codePark / Champ / Season
_season_codeY
_file_number4578
_audience_categoryFULL

...