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

CountryCode for deliveryadress #243

Open
MagnusModig opened this issue May 16, 2022 · 4 comments
Open

CountryCode for deliveryadress #243

MagnusModig opened this issue May 16, 2022 · 4 comments
Labels
server-side Issue is on server side, therefore can't be fixed in SDK

Comments

@MagnusModig
Copy link

Hi

I have earlier just used the swedish country name as delivery adress (.DeliveryCountry), but I wanted to have the english name for orders outside Sweden so I tried to pass the english name for the country. This did not work for "United Kingdom of Great Britain and Northern Ireland", here Fortnox expect " United Kingdom" instead. When speaking to Fortnox support they saif that I should add the countrycode instead, but there is no such property for deliveradress in the SDK.

@richardrandak
Copy link
Collaborator

richardrandak commented May 17, 2022

I don't see country code as Order property, neither in documentation or the received JSON.

@richardrandak
Copy link
Collaborator

Both CountryCode and DeliveryCountryCode gives error "Felaktigt fältnamn".
If you can find out what property can be used, I'll add it to the SDK model.

@MagnusModig
Copy link
Author

Hej, I chacked again with Fortnox and they said I was misinformed yesterday. There is no way to add countrycode for a deliveryadress. All this came up when I tried to add a english caountry name that was not the same as Fortnox uses.

@richardrandak
Copy link
Collaborator

richardrandak commented May 17, 2022

That's unfortunate. Similar issue was mentioned in a discussion here - #241

@richardrandak richardrandak added the server-side Issue is on server side, therefore can't be fixed in SDK label May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server-side Issue is on server side, therefore can't be fixed in SDK
Projects
None yet
Development

No branches or pull requests

2 participants