accodeing / fortnox-api

Gem that abstracts Fortnox's F3 API
GNU Lesser General Public License v3.0
9 stars 8 forks source link

Fix broken Invoice alternatives #215

Closed ehannes closed 2 years ago

ehannes commented 2 years ago

Fortnox has changes the allowed values, without sending out any notifications about it...

[Fortnox::API::Types::DefaultDeliveryTypes.new] "ELECTRONICINVOICE" (String)
has invalid type for :invoice violates constraints
(included_in?(["PRINT", "EMAIL", "PRINTSERVICE"], "ELECTRONICINVOICE") failed) (Fortnox::API::AttributeError)