-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directo: invoices are not sent to directo #844
Comments
#848 Does not fix the issue, but logs both Request and response we get from Directo. It should allow us to debug the actual issue. |
unfortunately we are still unable to figure out what is the issue. In test the invoice it self reaches Directo but the invoice content is missing. To get a better idea what is going on we need
|
Hey @vohmar, if you used the latest master, then since #848 is merged, all of that information should be in the logs, prefixed with Before we'd add storing that info into database, I'd need to spend some time refactoring the cron jobs for sending invoices, as in it's current for it's unmaintainable and untested. |
Apparently the invoices got stuck in Directo queue for some reason. Directo cleared the queue, we tried to resend everything and it seem the invoices are stuck again for some reason. They still have not sent me schema files although Artur should have these from the time he added send vatcode functionality. Currently trying to work out the problem with Directo. |
here is the log from test env - the result of this was invoice in directo without records (body missing):
|
it apperas that what we handled as vat registry code is actually Directos internal vat rate code. There are currently these values in Directo MOSS Läti 21% kood 21 So we should replace vatcode value with one of these
|
How can we distinguish, say, Latvian registrar? Currently we only have contact address, as far as I remember. Good that the country part is required. |
Use the mandatory address country to determine the tax residency. So any registrar with address country set to Latvia and no VAT number set get VAT code 21 for invoice data for sending to Directo. |
How often those values get changed? |
rarely, usually only once on the first entry. |
most of our registrars are Estonian, so if default value is necessary then that would be 10 |
Where is this directo internal vat rate code stored in our system ? |
@teadur Currently nowhere. |
This ticket removes |
in production |
There are currently 8 paied and waiting to be sent to Directo in production, but for some unknown reason it is not happening.
The directo XMLs are unfortunetely not logged (#344) and there are no errors in any other logs.
We see 8 invoices in db with sent to directo parameter false. Running the cron job returns 8 of 8 invoices sent but in reality nothing gets to directo and all the invoices are still marked as not sent.
The text was updated successfully, but these errors were encountered: