Skip to content
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

UBL not valid #53

Open
krosoftware opened this issue Feb 17, 2023 · 3 comments
Open

UBL not valid #53

krosoftware opened this issue Feb 17, 2023 · 3 comments

Comments

@krosoftware
Copy link

Hello
generated UBL invoice is not valid. I'm using this validator: https://www.ubl.be/validator/
and here are the errors: https://i.postimg.cc/9FgdZZ4c/Screenshot-2023-02-17-090848.png
I'm using curl from this page: https://invoice-generator.com/developers to generate invoice

@jaredk2g
Copy link
Collaborator

Can you provide an example request that is not working for you?

@krosoftware
Copy link
Author

I'm using example code from your site:

curl https://invoice-generator.com/ubl \
  -d from="Invoiced, Inc.%0AVAT ID: 1234" \
  -d to="Jared%0AVAT ID: 4567" \
  -d logo="https://invoiced.com/img/logo-invoice.png" \
  -d number=1 \
  -d date="Feb 9, 2015" \
  -d date="Mar 9, 2015" \
  -d payment_terms="NET 30" \
  -d "items[0][name]"="Starter Plan Monthly" \
  -d "items[0][quantity]"=1 \
  -d "items[0][unit_cost]"=99 \
  -d tax_title="VAT" \
  -d "fields[tax]"="%" \
  -d tax=8 \
  -d notes="Thanks for being an awesome customer!"

and generated file is here
invoice.zip

@krosoftware
Copy link
Author

Any news regarding this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants