struct
Zugpferd::TradeSettlement
- Zugpferd::TradeSettlement
- Struct
- Value
- Object
Overview
Payment details and all monetary totals for the invoice (BG-17 payment means, BG-22 document totals). Holds currency, VAT breakdown, optional payment means, and the full summation block.
Defined in:
zugpferd/trade_settlement.crConstructors
Instance Method Summary
-
#allowance_charges : Array(SpecifiedTradeAllowanceCharge)
Document-level allowances and charges (BG-20 charges / BG-21 allowances).
-
#allowance_charges=(allowance_charges : Array(SpecifiedTradeAllowanceCharge))
Document-level allowances and charges (BG-20 charges / BG-21 allowances).
-
#allowance_total_amount : MonetaryAmount
Sum of all document-level allowance amounts (BT-107).
-
#allowance_total_amount=(allowance_total_amount : MonetaryAmount)
Sum of all document-level allowance amounts (BT-107).
-
#charge_total_amount : MonetaryAmount
Sum of all document-level charge amounts (BT-108).
-
#charge_total_amount=(charge_total_amount : MonetaryAmount)
Sum of all document-level charge amounts (BT-108).
-
#currency_code : String
Invoice currency (BT-5).
-
#currency_code=(currency_code : String)
Invoice currency (BT-5).
-
#due_date : Time | Nil
Payment due date (BT-9).
-
#due_date=(due_date : Time | Nil)
Payment due date (BT-9).
-
#due_payable_amount : MonetaryAmount
Amount the buyer still owes: grand_total − prepaid (BT-115).
-
#due_payable_amount=(due_payable_amount : MonetaryAmount)
Amount the buyer still owes: grand_total − prepaid (BT-115).
-
#grand_total_amount : MonetaryAmount
Invoice total inclusive of VAT (BT-112).
-
#grand_total_amount=(grand_total_amount : MonetaryAmount)
Invoice total inclusive of VAT (BT-112).
-
#line_total_amount : MonetaryAmount
Sum of all line net amounts (BT-106).
-
#line_total_amount=(line_total_amount : MonetaryAmount)
Sum of all line net amounts (BT-106).
-
#payee_bic : String | Nil
BIC/SWIFT code of the payee's bank (BT-85).
-
#payee_bic=(payee_bic : String | Nil)
BIC/SWIFT code of the payee's bank (BT-85).
-
#payee_iban : String | Nil
IBAN of the payee's bank account (BT-84).
-
#payee_iban=(payee_iban : String | Nil)
IBAN of the payee's bank account (BT-84).
-
#payee_name : String | Nil
Name on the payee's bank account (BT-86), if different from the seller name.
-
#payee_name=(payee_name : String | Nil)
Name on the payee's bank account (BT-86), if different from the seller name.
-
#payment_means_code : String | Nil
Payment means code (BT-81).
-
#payment_means_code=(payment_means_code : String | Nil)
Payment means code (BT-81).
-
#payment_reference : String | Nil
Remittance information / payment reference the buyer should quote (BT-83).
-
#payment_reference=(payment_reference : String | Nil)
Remittance information / payment reference the buyer should quote (BT-83).
-
#payment_terms_note : String | Nil
Free-text payment terms description (BT-20).
-
#payment_terms_note=(payment_terms_note : String | Nil)
Free-text payment terms description (BT-20).
-
#prepaid_amount : MonetaryAmount
Amount already paid before this invoice (BT-113).
-
#prepaid_amount=(prepaid_amount : MonetaryAmount)
Amount already paid before this invoice (BT-113).
-
#tax_basis_total_amount : MonetaryAmount
Tax-exclusive invoice total: line_total − allowances + charges (BT-109).
-
#tax_basis_total_amount=(tax_basis_total_amount : MonetaryAmount)
Tax-exclusive invoice total: line_total − allowances + charges (BT-109).
-
#tax_total_amount : MonetaryAmount
Total VAT amount for the invoice (BT-110).
-
#tax_total_amount=(tax_total_amount : MonetaryAmount)
Total VAT amount for the invoice (BT-110).
-
#taxes : Array(ApplicableTradeTax)
VAT breakdown entries (BG-23).
-
#taxes=(taxes : Array(ApplicableTradeTax))
VAT breakdown entries (BG-23).
Constructor Detail
Instance Method Detail
Document-level allowances and charges (BG-20 charges / BG-21 allowances).
Distinct from line-level #allowance_charges on SupplyChainTradeLineItem.
Emitted only for BASIC_WL and above.
Document-level allowances and charges (BG-20 charges / BG-21 allowances).
Distinct from line-level #allowance_charges on SupplyChainTradeLineItem.
Emitted only for BASIC_WL and above.
Sum of all document-level allowance amounts (BT-107). Zero if none.
Sum of all document-level allowance amounts (BT-107). Zero if none.
Sum of all document-level charge amounts (BT-108). Zero if none.
Sum of all document-level charge amounts (BT-108). Zero if none.
Invoice currency (BT-5). ISO 4217 alpha-3 code, e.g. "EUR", "USD", "GBP".
Invoice currency (BT-5). ISO 4217 alpha-3 code, e.g. "EUR", "USD", "GBP".
Payment due date (BT-9). Required when #payment_terms_note is absent (BR-CO-25).
Emitted only for BASIC_WL and above.
Payment due date (BT-9). Required when #payment_terms_note is absent (BR-CO-25).
Emitted only for BASIC_WL and above.
Amount the buyer still owes: grand_total − prepaid (BT-115).
Amount the buyer still owes: grand_total − prepaid (BT-115).
Invoice total inclusive of VAT (BT-112).
Sum of all line net amounts (BT-106). Required for BASIC_WL and above.
Sum of all line net amounts (BT-106). Required for BASIC_WL and above.
BIC/SWIFT code of the payee's bank (BT-85). Emitted only for BASIC_WL and above.
BIC/SWIFT code of the payee's bank (BT-85). Emitted only for BASIC_WL and above.
IBAN of the payee's bank account (BT-84). Emitted only for BASIC_WL and above.
IBAN of the payee's bank account (BT-84). Emitted only for BASIC_WL and above.
Name on the payee's bank account (BT-86), if different from the seller name. Emitted only for BASIC_WL and above.
Name on the payee's bank account (BT-86), if different from the seller name. Emitted only for BASIC_WL and above.
Payment means code (BT-81). UNTDID 4461 code list. Common values: "58" = SEPA credit transfer, "30" = credit transfer, "48" = bank card. Emitted only for BASIC_WL and above.
Payment means code (BT-81). UNTDID 4461 code list. Common values: "58" = SEPA credit transfer, "30" = credit transfer, "48" = bank card. Emitted only for BASIC_WL and above.
Remittance information / payment reference the buyer should quote (BT-83). Emitted only for BASIC_WL and above.
Remittance information / payment reference the buyer should quote (BT-83). Emitted only for BASIC_WL and above.
Free-text payment terms description (BT-20). Use when structured due date is insufficient. Emitted only for BASIC_WL and above.
Free-text payment terms description (BT-20). Use when structured due date is insufficient. Emitted only for BASIC_WL and above.
Amount already paid before this invoice (BT-113). Zero if nothing is prepaid.
Amount already paid before this invoice (BT-113). Zero if nothing is prepaid.
Tax-exclusive invoice total: line_total − allowances + charges (BT-109).
Tax-exclusive invoice total: line_total − allowances + charges (BT-109).
Total VAT amount for the invoice (BT-110).
VAT breakdown entries (BG-23). At least one entry is required for BASIC and above. Emitted only for BASIC_WL and above.
VAT breakdown entries (BG-23). At least one entry is required for BASIC and above. Emitted only for BASIC_WL and above.