interfaceIntegration & APIsofficial - Microsoftderived - from the source, no model text

Interface "PEPPOL Tax Info Provider"

PEPPOL · Microsoft.Peppol

Across versions

  1. BC23-28not present
  2. BC29-30present

PEPPOL · Microsoft.Peppol · BC29-30 · source at ea08af5e · facts from BC29

Procedures

  • GetAllowanceChargeInfo(VATAmtLine: Record "VAT Amount Line"; SalesHeader: Record "Sales Header"; var ChargeIndicator: Text; var AllowanceChargeReasonCode: Text; var AllowanceChargeListID: Text; var AllowanceChargeReason: Text; var Amount: Text; var AllowanceChargeCurrencyID: Text; var TaxCategoryID: Text; var TaxCategorySchemeID: Text; var Percent: Text; var AllowanceChargeTaxSchemeID: Text)
  • GetAllowanceChargeInfoBIS(VATAmtLine: Record "VAT Amount Line"; SalesHeader: Record "Sales Header"; var ChargeIndicator: Text; var AllowanceChargeReasonCode: Text; var AllowanceChargeListID: Text; var AllowanceChargeReason: Text; var Amount: Text; var AllowanceChargeCurrencyID: Text; var TaxCategoryID: Text; var TaxCategorySchemeID: Text; var Percent: Text; var AllowanceChargeTaxSchemeID: Text): Gets allowance or charge information for BIS (Business Interoperability Specification) format. Provides allowance/charge details according to BIS billing specifications.
  • GetTaxExchangeRateInfo(SalesHeader: Record "Sales Header"; var SourceCurrencyCode: Text; var SourceCurrencyCodeListID: Text; var TargetCurrencyCode: Text; var TargetCurrencyCodeListID: Text; var CalculationRate: Text; var MathematicOperatorCode: Text; var Date: Text): Gets tax exchange rate information when dealing with foreign currencies in tax calculations.
  • GetTaxTotalInfo(SalesHeader: Record "Sales Header"; var VATAmtLine: Record "VAT Amount Line"; var TaxAmount: Text; var TaxTotalCurrencyID: Text): Gets the total tax amount information from the sales header and VAT amount lines.
  • GetTaxSubtotalInfo(VATAmtLine: Record "VAT Amount Line"; SalesHeader: Record "Sales Header"; var TaxableAmount: Text; var TaxAmountCurrencyID: Text; var SubtotalTaxAmount: Text; var TaxSubtotalCurrencyID: Text; var TransactionCurrencyTaxAmount: Text; var TransCurrTaxAmtCurrencyID: Text; var TaxTotalTaxCategoryID: Text; var schemeID: Text; var TaxCategoryPercent: Text; var TaxTotalTaxSchemeID: Text): Gets detailed tax subtotal information for a specific VAT amount line including taxable amounts, tax amounts, and tax category details.
  • GetTaxTotalInfoLCY(SalesHeader: Record "Sales Header"; var TaxAmount: Text; var TaxCurrencyID: Text; var TaxTotalCurrencyID: Text): Gets tax total information in local currency (LCY) from the sales header.
  • GetTaxTotals(SalesLine: Record "Sales Line"; var VATAmtLine: Record "VAT Amount Line"): Calculates and retrieves totals from sales line information, populating VAT amount lines.
  • GetTaxCategories(SalesLine: Record "Sales Line"; var VATProductPostingGroupCategory: Record "VAT Product Posting Group"): Gets tax categories from the sales line and populates VAT product posting group category information.
  • GetTaxExemptionReason(var VATProductPostingGroupCategory: Record "VAT Product Posting Group"; var TaxExemptionReasonTxt: Text; TaxCategoryID: Text): Gets the tax exemption reason text based on VAT product posting group category and tax category ID.
  • IsZeroVatCategory(TaxCategory: Code[10]): Boolean: Checks if the given tax category represents a zero VAT rate category. Includes categories: Z (Zero rated), E (Exempt), AE (VAT reverse charge), K (EEA intra-community), G (Free export), O (Outside VAT scope).
  • IsStandardVATCategory(TaxCategory: Code[10]): Boolean: Checks if the given tax category represents a standard VAT category (S - Standard rate).
  • IsOutsideScopeVATCategory(TaxCategory: Code[10]): Boolean: Checks if the given tax category represents outside the scope of VAT (O - Outside the scope of VAT).
  • FinalizeTaxTotals(var VATAmtLine: Record "VAT Amount Line"): Called once per document after all lines have been aggregated into the VAT amount line buffer, letting a format append synthetic VAT breakdown lines if needed. Needed to add, for example, compensation lines.
  • GetTaxExemptionReason(VATAmtLine: Record "VAT Amount Line"; var VATProductPostingGroupCategory: Record "VAT Product Posting Group"; var TaxExemptionReasonTxt: Text; TaxCategoryID: Text): Gets the tax exemption reason text for a given VAT breakdown. Unlike the overload without the VAT amount line, this lets a format tell apart breakdowns that share the same tax category.

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "interface", object_name: "PEPPOL Tax Info Provider"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources