1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 08:12:48 +01:00
imapsync/W/paypal_reply/memo

1085 lines
43 KiB
Plaintext
Raw Normal View History

2011-07-11 23:24:12 +02:00
#!/bin/sh
2018-05-07 16:04:23 +02:00
# $Id: memo,v 1.28 2018/02/21 04:08:14 gilles Exp gilles $
2011-07-11 23:24:12 +02:00
2012-04-17 00:31:15 +02:00
2012-07-21 04:18:22 +02:00
echo paypal_bilan_todo
paypal_bilan_todo() {
cat <<EOF
2018-05-07 16:04:23 +02:00
==============================================================================
2012-07-21 04:18:22 +02:00
http://www.cabinet-antoine.fr/spip.php?article138
2018-05-07 16:04:23 +02:00
Si vous r<>alisez des ventes de biens au profit d'entreprises ressortissantes
d'autres <20>tats membres de l'Union europ<6F>enne et si ces ventes sont exon<6F>r<EFBFBD>es
de TVA, les factures correspondantes doivent imp<6D>rativement comporter le
num<EFBFBD>ro de TVA intracommunautaire de vos clients ainsi que la mention :
<EFBFBD> Exon<6F>ration de TVA, article 262 ter, I du Code g<>n<EFBFBD>ral des imp<6D>ts <20>.
L<EFBFBD> encore, ces factures ne doivent <20>videmment pas comporter de taux ni
de montant de TVA.
Si vous fournissez des prestations de services <20> un client install<6C>
dans un autre <20>tat membre de l'Union europ<6F>enne, depuis le 1er janvier 2010,
le lieu d'imposition des prestations de services entre entreprises est celui
o<EFBFBD> est situ<74> l'acheteur et non plus celui o<> est <20>tabli le prestataire.
En cons<6E>quence, en application du syst<73>me dit de l'autoliquidation de la TVA,
vous ne devez plus faire mention de la TVA sur vos factures, mais vous devez
indiquer : <20> Exon<6F>ration de TVA, article 283-2 du Code g<>n<EFBFBD>ral des imp<6D>ts <20>.
2012-07-21 04:18:22 +02:00
Hors Europe a un non-assujetti : Article 259 B => prestation hors France pour
- Article 259 B-1 Cessions de droits de licences
- Article 259 B-4 Prestations des conseillers, ing<6E>nieurs dans tous les domaines
- Article 259 B-5 Traitement de donn<6E>es et fournitures d information
Hors Europe : Article 262 => Exoneration
2018-05-07 16:04:23 +02:00
- Article 262-1 les livraisons de biens exp<78>di<64>s par le vendeur [...]
ainsi que les prestations de services directement li<6C>es <20> l exportation ;
- Article 262-2 les livraisons de biens exp<78>di<64>s ou transport<72>s par l'acheteur [...]
ainsi que les prestations de services directement li<6C>es <20> l exportation.
2012-07-21 04:18:22 +02:00
Europe a un autre assujetti : Article 262 ter => Exoneration
- Article 262 ter-1 sur livraisons de biens exp<78>di<64>s. Question : oeuvre immaterielle, service ?
2018-05-07 16:04:23 +02:00
==============================================================================
https://www.impots.gouv.fr/portail/professionnel/prestations-entre-assujettis
Fourniture d'une prestation par un assujetti implant<6E> en France (vente par un prestataire fran<61>ais)
Prestations relevant de la r<>gle g<>n<EFBFBD>rale
Dans quel <20>tat payer la TVA ?
La r<>alisation, par un assujetti implant<6E> en France, d'une prestation au profit d<>un assujetti implant<6E> dans ou hors de l'Union europ<6F>enne n'est pas imposable <20> la TVA fran<61>aise.
Le prestataire fran<61>ais facture sans TVA. Il porte la mention <20> autoliquidation <20> sur la facture si le client est un assujetti <20>tabli dans l'UE. Il indique <20> TVA non applicable <20> art. 259-1 du CGI <20> si le client est un assujetti <20>tabli hors de l'UE.
Quelles sont les modalit<69>s d<>claratives ?
Le montant de la prestation appara<72>tra en <20> Autres op<6F>rations non imposables <20>, ligne 05 de la t<>l<EFBFBD>-d<>claration n<> 3310-CA3, 03 de la t<>l<EFBFBD>-d<>claration n<> 3517-CA12 ou 02 de la t<>l<EFBFBD>-d<>claration n<> 3517-CA12A.
Lorsque le preneur assujetti de la prestation est implant<6E> dans un autre <20>tat membre de l'UE, une d<>claration europ<6F>enne de services (DES) doit <20>tre transmise dans les dix jours du mois qui suit l'exigibilit<69> de la TVA (r<>alisation de la prestation ou paiement de l'acompte) (cf. site douane.gouv.fr).
2017-09-23 23:54:48 +02:00
EOF
}
2012-07-21 04:18:22 +02:00
2018-05-07 16:04:23 +02:00
echo paypal_bilan_individuals_counter
paypal_bilan_individuals_counter() {
# DID output diff between paypal_bilan_1.100 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.108 || return 1
cd /g/var/paypal_bilan_individuals_counter/ || return 1
echo Working in `pwd`
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.108 \
--first_in 60001 --debug_invoice_utf8 \
/g/paypal/paypal_201?_??_complet.csv \
> all.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--first_in 60001 --debug_invoice_utf8 \
/g/paypal/paypal_201?_??_complet.csv \
> all.out2 2>&1 || return 1
echo diff all.out1 all.out2
diff all.out1 all.out2
)
}
2017-09-23 23:54:48 +02:00
echo paypal_bilan_online_summary_bug2
paypal_bilan_online_summary_bug2() {
# DID output diff between paypal_bilan_1.100 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 || return 1
cd /g/var/paypal_bilan_online_summary_bug2/ || return 1
echo Working in `pwd`
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 \
--first_in 147 --avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132
2295 2296 2297 2298 2625 2626 2970 2971 2972
3093 3296 3411 3412 3450 3451 3614 3615 3616 3617
3807 3808 3957 3958 4030 4194 4195 4381 4382 4449 4450
4574 4641 5213 5214 5215 5355 5406
5489 5650' \
/g/paypal/paypal_201?_??_complet.csv \
> all.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--first_in 147 --avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132
2295 2296 2297 2298 2625 2626 2970 2971 2972
3093 3296 3411 3412 3450 3451 3614 3615 3616 3617
3807 3808 3957 3958 4030 4194 4195 4381 4382 4449 4450
4574 4641 5213 5214 5215 5355 5406
5489 5650' \
/g/paypal/paypal_201?_??_complet.csv \
> all.out2 2>&1 || return 1
echo diff all.out1 all.out2
diff all.out1 all.out2
)
}
echo paypal_bilan_online_summary_bug
paypal_bilan_online_summary_bug() {
# DID output diff between paypal_bilan_1.100 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 || return 1
cd /g/var/paypal_bilan_online_summary_bug/ || return 1
echo Working in `pwd`
test -f 2017_07.csv || { echo no 2017_07.csv; return 1; }
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 \
--debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_online_summary_bug/ --first_in 52001 \
2017_07.csv \
> 2017_07.out1 2>&1 || return 1
rm 52???/imapsync_var_manual.tex
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_online_summary_bug/ --first_in 52001 \
2017_07.csv \
> 2017_07.out2 2>&1 || return 1
echo diff 2017_07.out1 2017_07.out2
diff 2017_07.out1 2017_07.out2
)
}
echo paypal_bilan_online
paypal_bilan_online() {
# DID output diff between paypal_bilan_1.96 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.96 || return 1
cd /g/var/paypal_bilan_online/ || return 1
echo Working in `pwd`
test -f 2017_06.csv || { echo no 2017_06.csv; return 1; }
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.96 \
--debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_online/ --write_invoices --first_in 51001 \
2017_06.csv \
> 2017_06.out1 2>&1 || return 1
rm 51???/imapsync_var_manual.tex
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_online/ --write_invoices --first_in 51001 \
2017_06.csv \
> 2017_06.out2 2>&1 || return 1
echo diff 2017_06.out1 2017_06.out2
diff 2017_06.out1 2017_06.out2
)
}
#echo paypal_bilan_invoices_utf8_bug
paypal_bilan_invoices_utf8_bug() {
# DID output diff between paypal_bilan_1.93 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.93 || return 1
cd /g/var/paypal_bilan_invoices_utf8_bug/ || return 1
echo Working in `pwd`
test -f 2017_02.csv || { echo no 2017_02.csv; return 1; }
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.93 \
--debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_invoices_utf8_bug/ --write_invoices --first_in 51001 \
2017_02.csv \
> 2017_02.out1 2>&1 || return 1
rm 51???/imapsync_var_manual.tex
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_invoices_utf8_bug/ --write_invoices --first_in 51001 \
2017_02.csv \
> 2017_02.out2 2>&1 || return 1
echo diff 2017_02.out1 2017_02.out2
diff 2017_02.out1 2017_02.out2
)
}
#echo paypal_bilan_no_US_if_0_dollars
paypal_bilan_no_US_if_0_dollars() {
# DID output diff between paypal_bilan_1.92 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.92 || return 1
cd /g/var/paypal_bilan_no_US_if_0_dollars/ || return 1
test -f /g/paypal/paypal_2017_03_complet.csv || { echo no /g/paypal/paypal_2017_03_complet.csv; return 1; }
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.92 --first_in 54001 \
/g/paypal/paypal_2017_03_complet.csv \
> 2017_03.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --first_in 54001 \
/g/paypal/paypal_2017_03_complet.csv \
> 2017_03.out2 2>&1 || return 1
echo diff 2017_03.out1 2017_03.out2
diff 2017_03.out1 2017_03.out2
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.92 --first_in 55001 \
/g/paypal/paypal_201?_??_complet.csv \
> all.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --first_in 55001 \
/g/paypal/paypal_201?_??_complet.csv \
> all.out2 2>&1 || return 1
echo diff all.out1 all.out2
diff all.out1 all.out2
)
}
#echo paypal_bilan_client_type_VAT_imply_pro
paypal_bilan_client_type_VAT_imply_pro() {
# DID output diff between paypal_bilan_1.91 and next one
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.91 || return 1
cd /g/var/paypal_bilan_client_type_VAT_imply_pro/ || return 1
cp /g/paypal/paypal_2017_03_complet.csv 2017_03.csv || return 1
test -f 2017_03.csv || { echo no 2017_03.csv; return 1; }
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.91 \
--debug --debug_csv --debug_email --details --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 52001 \
2017_03.csv \
> 2017_03.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 52001 \
2017_03.csv \
> 2017_03.out2 2>&1 || return 1
echo diff 2017_03.out1 2017_03.out2
diff 2017_03.out1 2017_03.out2
cp /g/paypal/paypal_201[67]_??_complet.csv .
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.91 \
--debug --debug_csv --debug_email --details --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 53001 \
paypal_201[67]_??_complet.csv \
> all.out1 2>&1 || return 1
#cp /g/paypal/paypal_201[67]_??_complet.csv .
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice_utf8 \
--dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 53001 \
paypal_201[67]_??_complet.csv \
> all.out2 2>&1 || return 1
echo diff all.out1 all.out2
diff all.out1 all.out2
)
}
#echo paypal_bilan_individual_or_france_bug
paypal_bilan_individual_or_france_bug() {
# DID output diff between paypal_bilan_1.84 and next
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.84 || return 1
cd /g/var/paypal_bilan_individual_or_france_bug/ || return 1
test -f 2016_10.csv || { echo no 2016_10.csv; return 1; }
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.84 \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 50001 \
2016_10.csv \
> 2016_10.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 50001 \
2016_10.csv \
> 2016_10.out2 2>&1 || return 1
echo diff 2016_10.out1 2016_10.out2
diff 2016_10.out1 2016_10.out2
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.84 \
--first_in 4575 --avoid_numbers '4574 4641 5213 5214 5215' \
/g/paypal/paypal_2016_??_complet.csv > 2016.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--first_in 4575 --avoid_numbers '4574 4641 5213 5214 5215' \
/g/paypal/paypal_2016_??_complet.csv > 2016.out2 2>&1 || return 1
echo diff 2016.out1 2016.out2
diff 2016.out1 2016.out2
)
2012-07-21 04:18:22 +02:00
}
2015-12-03 18:16:32 +01:00
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_changefix_Commission_Frais
2016-09-19 17:17:24 +02:00
paypal_bilan_changefix_Commission_Frais() {
# DID output diff between
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
cd /g/var/paypal_bilan_changefix_Commission_Frais || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.81 \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \
2016_07_old.csv \
> 2016_07_old.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \
2016_07_old.csv \
> 2016_07_old.out2 2>&1 || return 1
echo diff 2016_07_old.out1 2016_07_old.out2
diff 2016_07_old.out1 2016_07_old.out2
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \
2016_07_old.csv \
> 2016_07_old.out3 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \
2016_07_new.csv \
> 2016_07_new.out3 2>&1 || return 1
echo diff 2016_07_old.out3 2016_07_new.out3
diff 2016_07_old.out3 2016_07_new.out3
)
}
2015-12-03 18:16:32 +01:00
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_licence_support_only_csv
2015-12-03 18:16:32 +01:00
paypal_bilan_licence_support_only_csv() {
# DID output diff between paypal_bilan_1.79 and next
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
cd /g/var/paypal_bilan_support_only/ || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.79 \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \
2015_08.csv \
> 2015_08.out1 2>&1 || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \
2015_08.csv \
> 2015_08.out2 2>&1 || return 1
echo diff 2015_08.out1 2015_08.out2
diff 2015_08.out1 2015_08.out2
)
}
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_licence_support_same_button_04_2014_04_csv
2014-05-30 03:56:21 +02:00
paypal_bilan_licence_support_same_button_04_2014_04_csv() {
# DID output diff between paypal_bilan_1.78 and next
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
cd /g/var/paypal_bilan_A_B_C/
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.78 \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \
2014_04.csv \
> 2014_04.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \
2014_04.csv \
> 2014_04.out2 2>&1
echo diff 2014_04.out1 2014_04.out2
diff 2014_04.out1 2014_04.out2
)
}
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_licence_support_same_button_03_A_B_several_csv
2014-05-30 03:56:21 +02:00
paypal_bilan_licence_support_same_button_03_A_B_several_csv() {
# DID output diff between paypal_bilan_1.78 and next
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
cd /g/var/paypal_bilan_A_B_C/
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.78 \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 20001 \
??_*.csv \
> several.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 20001 \
??_*.csv \
> several.out2 2>&1
echo diff several.out1 several.out2
diff several.out1 several.out2
)
}
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_licence_support_same_button_02_A_B_one_line
2014-05-30 03:56:21 +02:00
paypal_bilan_licence_support_same_button_02_A_B_one_line() {
# DID output diff between paypal_bilan_1.78 and next
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
cd /g/var/paypal_bilan_A_B_C/
for csv in ??_*.csv ; do
b=`basename $csv .csv`
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.78 \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 10001 \
$b.csv \
> $b.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--debug --debug_csv --debug_email --details --debug_invoice \
--dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 10001 \
$b.csv \
> $b.out2 2>&1
echo diff $b.out1 $b.out2
diff $b.out1 $b.out2
done
)
}
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_licence_support_same_button_01_ALL_before_B_C
2014-05-30 03:56:21 +02:00
paypal_bilan_licence_support_same_button_01_ALL_before_B_C() {
# DID output diff between paypal_bilan_1.77 and next
(
set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.77 --bnc --debug --details --debug_email --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298
2625 2626 2970 2971 2972 3093' \
/g/paypal/paypal_201[01234]_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_email --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298
2625 2626 2970 2971 2972 3093' \
/g/paypal/paypal_201[01234]_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
2017-09-23 23:54:48 +02:00
#echo paypal_bilan_final_presentation_for_tva
2014-05-30 03:56:21 +02:00
paypal_bilan_final_presentation_for_tva() {
# DID output diff between paypal_bilan_1.72 and 1.73
(
set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.72 --bnc --debug --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298
2625 2626 2970 2971 2972 3093' \
/g/paypal/paypal_201[01234]_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298
2625 2626 2970 2971 2972 3093' \
/g/paypal/paypal_201[01234]_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
2014-02-13 18:34:20 +01:00
2014-05-30 03:56:21 +02:00
#echo paypal_bilan_tva_taux_20
2014-02-13 18:34:20 +01:00
paypal_bilan_tva_taux_20() {
# DID output diff between paypal_bilan_1.70 and 1.71
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.70 --bnc --debug --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298
2625 2626 2970 2971 2972 3093' \
/g/paypal/paypal_201[01234]_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093
1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298
2625 2626 2970 2971 2972 3093' \
/g/paypal/paypal_201[01234]_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_bncexport2
2013-04-22 21:50:50 +02:00
paypal_bilan_bncexport2() {
# DID output diff between paypal_bilan_1.66 and 1.67
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.66 --bnc --debug --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
2014-02-13 18:34:20 +01:00
#echo paypal_bilan_bncexport
2013-04-22 21:50:50 +02:00
paypal_bilan_bncexport() {
# DID output diff between paypal_bilan_1.66 and 1.67
(
#set -x
perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.66 --bnc --debug --debug_csv --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_csv --details --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_tva_prestation_de_service_fix_date
paypal_bilan_tva_prestation_de_service_fix_date() {
# DID output diff between paypal_bilan_1.65 and 1.64
(
#set -x
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.64 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_tva_prestation_de_service
paypal_bilan_tva_prestation_de_service() {
# DID output diff between paypal_bilan_1.63 and 1.64
(
#set -x
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.63 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732
1093 1330 1331 1332 1333 1334 1652 1653
2131 2132 2295 2296 2297 2298' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
2012-12-29 01:43:39 +01:00
paypal_bilan_invoice_00000() {
# DID output diff between paypal_bilan_1.62 and 1.63
(
#set -x
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.62 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --dry --write_invoices --exportbnc paypal_bnc.txt --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_Avant_commission
2012-11-27 23:32:36 +01:00
paypal_bilan_Avant_commission() {
2012-12-29 01:43:39 +01:00
# DID output diff between paypal_bilan_1.61 and 1.62
2012-09-03 02:08:57 +02:00
(
#set -x
2012-12-29 01:43:39 +01:00
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.61 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \
2012-09-03 02:08:57 +02:00
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --exportbnc paypal_bnc.txt --bnc --debug --debug_invoice --first_in 147 \
2012-12-29 01:43:39 +01:00
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \
2012-09-03 02:08:57 +02:00
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_tests_tva_2
2012-09-03 02:04:29 +02:00
paypal_bilan_tests_tva_2() {
# DID output no diff between paypal_bilan_1.56 and 1.5?
(
#set -x
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.56 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_tests_tva
2012-07-21 04:18:22 +02:00
paypal_bilan_tests_tva() {
# DID output no diff between paypal_bilan_1.55 and 1.5?
(
#set -x
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.55 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \
/g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_tests_invoice
2012-04-17 00:31:15 +02:00
paypal_bilan_tests_invoice() {
2012-07-21 04:18:22 +02:00
# DID output no diff between paypal_bilan_1.53 and 1.53
2012-04-17 00:31:15 +02:00
(
#set -x
2012-07-21 04:18:22 +02:00
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.52 --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \
/g/paypal/paypal_201?_??_complet.csv \
2012-04-17 00:31:15 +02:00
> /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1
2012-07-21 04:18:22 +02:00
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \
--avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \
/g/paypal/paypal_201?_??_complet.csv \
2012-04-17 00:31:15 +02:00
> /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2
)
}
#echo paypal_bilan_tests_Etat_Province
paypal_bilan_tests_Etat_Province() {
# DID output no diff between paypal_bilan_1.41 and 1.42
(
#set -x
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.41 --bnc --debug --first_in 147 --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334' /g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_Etat_Province.out1 2>&1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 147 --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334' /g/paypal/paypal_201?_??_complet.csv \
> /g/var/paypal_bilan/tests/paypal_Etat_Province.out2 2>&1
echo diff /g/var/paypal_bilan/tests/paypal_Etat_Province.out1 /g/var/paypal_bilan/tests/paypal_Etat_Province.out2
diff /g/var/paypal_bilan/tests/paypal_Etat_Province.out1 /g/var/paypal_bilan/tests/paypal_Etat_Province.out2
)
}
#echo paypal_bilan_tests_refact_4
2011-07-11 23:24:12 +02:00
paypal_bilan_tests_refact_4() {
# DID output no diff between paypal_bilan_1.33 and 1.??
(
#set -x
# from 147 to 213
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 147 /g/paypal/paypal_2010_11_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 147 /g/paypal/paypal_2010_11_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out2
# from 214 to 291
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 214 /g/paypal/paypal_2010_12_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 214 /g/paypal/paypal_2010_12_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out2
# from 294 to 381
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 294 /g/paypal/paypal_2011_01_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 294 /g/paypal/paypal_2011_01_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out2
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 292 --avoid_numbers '292 293' /g/paypal/paypal_2011_01_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out3
echo diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out3
diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out3
# from 382 to 472
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 382 /g/paypal/paypal_2011_02_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 382 /g/paypal/paypal_2011_02_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out2
# from 473 to 569
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 473 /g/paypal/paypal_2011_03_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 473 /g/paypal/paypal_2011_03_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out2
# from 570 to 642
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 570 /g/paypal/paypal_2011_04_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 570 /g/paypal/paypal_2011_04_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out2
# from 645 to 730
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 645 /g/paypal/paypal_2011_05_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 645 /g/paypal/paypal_2011_05_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out2
# from 733 to 764
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 733 /g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 733 /g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out2
echo diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out2
diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out2
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 733 --avoid_numbers '' \
/g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out3
echo diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out3
diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out3
/g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 731 --avoid_numbers '731 732' \
/g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out4
echo diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out4
diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out4
for f in /g/paypal/paypal_201?_??_complet.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/${fb}_1.32.out1
f2=/g/var/paypal_bilan/tests/${fb}_1.32.out2
rm "$f2"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 \
--bnc --debug --debug_csv "$f" \
> "$f1"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--bnc --debug --debug_csv "$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
for f in /g/paypal/paypal_201?_??_complet.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/${fb}_tva.out1
f2=/g/var/paypal_bilan/tests/${fb}_tva.out2
rm "$f2"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 \
"$f" \
> "$f1"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
"$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
)
}
#echo paypal_bilan_tests_refact_3
paypal_bilan_tests_refact_3() {
# DID output no diff between paypal_bilan_1.27 and 1.??
(
#set -x
for f in /g/paypal/paypal_201?_??_complet.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/${fb}_1.27.out1
f2=/g/var/paypal_bilan/tests/${fb}_1.27.out2
rm "$f2"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.27 \
--bnc --debug --debug_csv "$f" \
> "$f1"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
--bnc --debug --debug_csv "$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
for f in /g/paypal/paypal_201?_??_complet.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/${fb}_tva.out1
f2=/g/var/paypal_bilan/tests/${fb}_tva.out2
rm "$f2"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.27 \
"$f" \
> "$f1"
/g/public_html/imapsync/W/paypal_reply/paypal_bilan \
"$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
)
}
#echo paypal_bilan_tests_refact_2
paypal_bilan_tests_refact_2() {
# DID output no diff between paypal_bilan_1.22 and 1.23
(
set -x
for f in /g/paypal/paypal_201?_??_complet.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/${fb}_1.22.out1
f2=/g/var/paypal_bilan/tests/${fb}_1.22.out2
rm "$f2"
/g/public_html/imapsync/paypal_reply/paypal_bilan_1.22 \
--bnc --debug --debug_csv "$f" \
> "$f1"
/g/public_html/imapsync/paypal_reply/paypal_bilan \
--bnc --debug --debug_csv "$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
for f in /g/paypal/paypal_201?_??_complet.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/${fb}_tva.out1
f2=/g/var/paypal_bilan/tests/${fb}_tva.out2
rm "$f2"
/g/public_html/imapsync/paypal_reply/paypal_bilan_1.22 \
"$f" \
> "$f1"
/g/public_html/imapsync/paypal_reply/paypal_bilan \
"$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
)
}
#echo paypal_bilan_tests_refact_1
paypal_bilan_tests_refact_1() {
# DID output no diff between paypal_bilan_1.11 and 1.13
(
#set -x
for f in /g/paypal/paypal_201?_??.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/$fb.out1
f2=/g/var/paypal_bilan/tests/$fb.out2
rm "$f2"
/g/public_html/imapsync/paypal_reply/paypal_bilan_1.11 \
--bnc --debug "$f" \
> "$f1"
/g/public_html/imapsync/paypal_reply/paypal_bilan \
--bnc --debug "$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
for f in /g/paypal/paypal_201?_??.csv; do
fb=`basename "$f"`
f1=/g/var/paypal_bilan/tests/$fb.out1
f2=/g/var/paypal_bilan/tests/$fb.out2_usd_eur
rm "$f2"
/g/public_html/imapsync/paypal_reply/paypal_bilan_1.11 \
--bnc --debug "$f" \
> "$f1"
/g/public_html/imapsync/paypal_reply/paypal_bilan \
--bnc --debug --usdeur 1.2981 "$f" \
> "$f2"
echo diff "$f1" "$f2"
diff "$f1" "$f2"
done
for f in /g/paypal/paypal_201?_??.csv; do
fb=`basename "$f" .csv`
#echo $fb
f1i=/g/paypal/$fb.csv
f2i=/g/paypal/${fb}_complet.csv
f1o=/g/var/paypal_bilan/tests/t03_$fb.out1
f2o=/g/var/paypal_bilan/tests/t03_$fb.out2
#echo $f1i
#echo $f2i
#echo $f1o
#echo $f2o
rm -f "$f1o" "$f2o"
/g/public_html/imapsync/paypal_reply/paypal_bilan \
--bnc --debug "$f1i" \
> "$f1o"
/g/public_html/imapsync/paypal_reply/paypal_bilan \
--bnc --debug "$f2i" \
> "$f2o"
echo diff "$f1o" "$f2o"
diff "$f1o" "$f2o"
done
)
}
#echo paypal_bilan_tests_dev
paypal_bilan_tests_dev() {
/g/public_html/imapsync/paypal_reply/paypal_bilan \
/g/paypal/paypal_201?_??_complet.csv --invoices '1 50 200'
# Strange characters
/g/public_html/imapsync/paypal_reply/paypal_bilan \
/g/paypal/paypal_201?_??_complet.csv --invoices '389 234 96'
# France
/g/public_html/imapsync/paypal_reply/paypal_bilan \
/g/paypal/paypal_201?_??_complet.csv --invoices '9 392'
# individual
/g/public_html/imapsync/paypal_reply/paypal_bilan \
/g/paypal/paypal_201?_??_complet.csv --invoices '313 415'
# /g/public_html/imapsync/paypal_reply/paypal_bilan /g/paypal/paypal_2011_03_complet.csv
# pb with latex
# Ok 10 # character
# 65 clientAdrB Keyboard character used is undefined YOSHITO YONEI
# Ok 84 Missing $ inserted. clientEmail victor_su@yahoo.com
# 92 Dr. Westernacher & Partner GmbH
# /g/public_html/imapsync/paypal_reply/paypal_bilan --first_in 147 --invoices '242' /g/paypal/paypal_2010_1?_complet.csv
}