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

Total, TotalVAT and OrderReference are read only property in Invoice entity #247

Open
lakshansud opened this issue Sep 7, 2022 · 2 comments

Comments

@lakshansud
Copy link

Hi When I implemented this SDK to our system, I can't set Total, TotalVAT, and OrderReference to the invoice since read-only property. Can you please know, how can I send these values to the FORTNOX when I create invoice?

@richardrandak
Copy link
Collaborator

You can't. If I remember correctly, You need to add invoice lines. The total amounts are calculated on server.

@richardrandak
Copy link
Collaborator

richardrandak commented Sep 8, 2022

Not sure about order reference. It is populated when invoice is created from an fortnox order. If it is readonly, you can maybe use ExternalReference or something.

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