Module: FacturX::Codes::PaymentMeansType
- Defined in:
- lib/factur_x/codes.rb
Overview
NOTE: Chorus Pro only accepts 30, 42, 48, 49, 58, 59 and 97
Constant Summary collapse
- NOT_DEFINED =
"1"- CASH =
"10"- CHEQUE =
"20"- CREDIT_TRANSFER =
"30"- PAYMENT_TO_BANK_ACCOUNT =
"42"- BANK_CARD =
The instrument, whatever the channel: a card read on a physical terminal and a card entered on a web page are both 48.
"48"- DIRECT_DEBIT =
"49"- CREDIT_CARD =
"54"- DEBIT_CARD =
"55"- STANDING_AGREEMENT =
"57"- SEPA_CREDIT_TRANSFER =
"58"- SEPA_DIRECT_DEBIT =
"59"- ONLINE_PAYMENT_SERVICE =
The service is itself the instrument - a wallet or a provider that collects in its own name. A card payment through a payment page is still BANK_CARD, not this.
"68"- CLEARING_BETWEEN_PARTNERS =
"97"- MUTUALLY_DEFINED =
"ZZZ"- ALL =
The complete UNTDID 4461 subset of the EN 16931 code list, as published in the Factur-X code database used by the official schematron.
( (1..70).to_a + (74..78).to_a + (91..98).to_a ).map(&:to_s).push("ZZZ").freeze
- REQUIRING_CREDITOR_ACCOUNT =
[CREDIT_TRANSFER, SEPA_CREDIT_TRANSFER].freeze
- REQUIRING_MANDATE =
[DIRECT_DEBIT, SEPA_DIRECT_DEBIT].freeze