It seems like "autogiro" is missing among the valid sources in Entities. Today it supports manual, direct, settle, file and finance but not autogiro.
Newtonsoft.Json.JsonSerializationException: Error converting value "autogiro" to type 'System.Nullable`1[Fortnox.SDK.Entities.Source]'.
Path 'InvoicePayments[458].Source', line 1, position 114605. --->
System.ArgumentException: Requested value 'autogiro' was not found.
at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) --- End of inner exception stack trace ---
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
....
Hello,
It seems like "autogiro" is missing among the valid sources in Entities. Today it supports manual, direct, settle, file and finance but not autogiro.
Newtonsoft.Json.JsonSerializationException: Error converting value "autogiro" to type 'System.Nullable`1[Fortnox.SDK.Entities.Source]'. Path 'InvoicePayments[458].Source', line 1, position 114605. ---> System.ArgumentException: Requested value 'autogiro' was not found.
at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) --- End of inner exception stack trace ---
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
....