Join us at Fortnox App Market today!

Formats & Encoding

Developers Integration Dictionary

During the process of creating your integration you will bump into these words and functions.

URL

All data sent through the URL should be URL encoded. For example the character “/” will be represented as “%2F” in a URL encoded string.

Visit Wikipedia or W3Schools for more information about URL encoding.

Requests & Responses

All data in the requests and responses shall be HTML encoded and using UTF-8 encoding.

Read more about UTF-8 on Wikipedia.

Date & Time

Date and time should be formatted as the following examples.

Date: 2014-12-01

Date and time: 2014-12-01 09:30:00

Valid characters

List including characters that are valid:

 

Match a single character present in the list below
[\p{L}\’\\\x{0308}\x{030a}a-zåäöéáœæøüA-ZÅÄÖÉÁÜŒÆØ0-9 –:\.`´’,;\^¤#%§£$€¢¥©™°&\/\(\)=\+\-\*_\!?²³®½\@\x{00a0}\n\r]*

^ asserts position at start of the string
* Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
\p{L} matches any kind of letter from any language
\’ matches the character ‘ literally (case sensitive)
\\ matches the character \ literally (case sensitive)
\x{0308} matches the character ̈ with index 30816 (77610 or 14108) literally (case sensitive)
\x{030a} matches the character ̊ with index 30A16 (77810 or 14128) literally (case sensitive)
a-z a single character in the range between a (ASCII 97) and z (ASCII 122) (case sensitive)
åäöéáœæøü matches a single character in the list åäöéáœæøü (case sensitive)
A-Z a single character in the range between A (ASCII 65) and Z (ASCII 90) (case sensitive)
ÅÄÖÉÁÜŒÆØ matches a single character in the list ÅÄÖÉÁÜŒÆØ (case sensitive)
0-9 a single character in the range between 0 (ASCII 48) and 9 (ASCII 57) (case sensitive)
–: matches a single character in the list  –: (case sensitive)
\. matches the character . literally (case sensitive)
`´’,; matches a single character in the list `´’,; (case sensitive)
\^ matches the character ^ literally (case sensitive)
¤#%§£$€¢¥©™°& matches a single character in the list ¤#%§£$€¢¥©™°& (case sensitive)
\/ matches the character / literally (case sensitive)
\( matches the character ( literally (case sensitive)
\) matches the character ) literally (case sensitive)
= matches the character = literally (case sensitive)
\+ matches the character + literally (case sensitive)
\- matches the character – literally (case sensitive)
\* matches the character * literally (case sensitive)
_ matches the character _ literally (case sensitive)
\! matches the character ! literally (case sensitive)
?²³®½ matches a single character in the list ?²³®½ (case sensitive)
\@ matches the character @ literally (case sensitive)
\x{00a0} matches the character  with index A016 (16010 or 2408) literally (case sensitive)
\n matches a line-feed (newline) character (ASCII 10)
\r matches a carriage return (ASCII 13)
$ asserts position at the end of the string, or before the line terminator right at the end of the string (if any)