On Thu, 2010-03-25 at 17:19 +0200, Georg Kahest wrote:
Hello!
So this is example of adding credit to registrar ?
fred-banking --credit REG-HANDLE zone price
Yes
Why is it called price rather then amount ?
Poor english of our developers ;)
Where can i find the operation ID description so i can
build my
price_list table ?
1=registration fee
2=renewal fee
aswell there is koef field in price_vat table, for
what is that used ?
For better subtraction of vat. From X amount we receive from registrar,
we actually add X-X*koef to credit. The rest is vat.
For what is the invoice_prefix table used ?
When credit is accepted, invoice is created and it has new number from
numbering scheme specified in invoice_prefix table. there must be at
least one row for your zone, current year and type=0 (credit invoice).
then credit is accepted and invoice has number as specified in
invoice_prefix table. prefix in invoice_prefix table is raised.
Taxdate is date when credits are removed from
registrars account ?
taxdate is the date when credit is accepted from registrar
When will be the 2.3 released ?
We test it right now and release it next Tuesday on our production
servers. actually deb and rpm packages are already in repository at
http://archive.nic.cz. there are still some small fixes that needs to be
done.
Regards,
Jaromir
25.03.2010 17:14, Jaromir Talir kirjutas:
On Thu, 2010-03-25 at 16:04 +0100, Vitezslav Novy
wrote:
Georg Kahest wrote:
Hello!
After some digging in the database i have managed to add one invoice (
so i have balance of x @ one registar now ) to db,but that was done
directly and now when i do some operations via fred-client the balance
seems not to go smaller.
What is the correct way to assign credits to registrar(not via bank), at
what moment the credit is removed from registrars balance.
I would greatly appriciate example command set of assigning credits to
someone aswell example when the credits are removed from registrar.
If this is documented somewhere and i just missed it link to
documentation would be awesome.
Georg
fred-banking --credit REG-HANDLE zone price
Exactly.
In upcoming release 2.3 it will be using fred-admin:
{{{
fred-admin --invoice_credit --help
** Invoice credit **
$ fred-admin --invoice_credit \
--zone_id=<zone_id> | \
--registrar_id=<registrar_id> | \
--price=<price> \
[--taxdate=<tax_date>]
Default value for ``--taxdate'' is today's timestamp.
}}}
I think price can be alsoo negative.
I'm afraid not. It can cause problems as Bryton from .tz discovered.
Regards,
Jaromir
v.
_______________________________________________
fred-users mailing list
fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
_______________________________________________
fred-users mailing list
fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
--
Jaromir Talir
technicky reditel / Chief Technical Officer
-------------------------------------------
CZ.NIC, z.s.p.o. -- .cz domain registry
Americka 23, 120 00 Praha 2, Czech Republic
mailto:jaromir.talir@nic.cz
http://nic.cz/
sip:jaromir.talir@nic.cz tel:+420.222745107
mob:+420.739632712 fax:+420.222745112
-------------------------------------------