GermanYearlyFilingExportHandler
extends AbstractExportHandler
in package
implements
GermanYearlyFilingExportHeaders
uses
GermanYearlyFilingExportCalculatorTrait
Table of Contents
Interfaces
Constants
- ACTIVE_HANDLERS = [\Vatjar\Export\Component\TransactionVolumeExportHandler::class, \Vatjar\Export\Component\VatReportSummaryExportHandler::class, \Vatjar\Export\Component\MovementMissingCountryExportHandler::class, \Vatjar\Export\Component\StorageDetectionExportHandler::class, \Vatjar\Export\Component\TransactionToGbAfterBrexitExportHandler::class, \Vatjar\Export\Component\GermanYearlyFilingExportHandler::class, \Vatjar\Export\Component\ArrangedUserExportHandler::class, \Vatjar\Export\Component\YearlyTransactionCountExportHandler::class, \Vatjar\Export\Component\ItalianYearlyFilingExportHandler::class]
- COLOR_BLUE = 'C8DAF9'
- COLOR_GREEN = "92C47C"
- COLOR_LIGHT_GREEN = "D8EAD3"
- COLOR_RED = "FF0000"
- COLOR_YELLOW = 'FFE599'
- EMPTY_STRING = ""
Properties
- $fileComponent : mixed
- $client : Client|null
- $deUserVat : UserVat
- $difference : mixed
- $differencePayableTaxField : mixed
- $differenceSubmission : mixed
- $emptyPeriod : bool|null
- $entryReportRepository : EntryReportRepository
- $entryReportsForPeriod : array<string|int, EntryReport>
- $entryReportsSummaries : array<string|int, mixed>|null
- $fields : mixed
- $preliminary : mixed
- $preliminaryPayableTaxField : mixed
- $preliminaryReportsForPeriod : mixed
- $preliminaryReportsSummaries : array<string|int, mixed>
- $reportIntentionRepository : ReportIntentionRepository
- $reportObligationRepository : ReportObligationRepository
- $reportRepository : ReportRepository
- $submissionProof : mixed
- $submissionProofPayableTaxField : mixed
- $submissionProofsSummaries : array<string|int, mixed>|null
- $submissionProofTotal : mixed
- $totalDifferenceRowsTitles : mixed
- $totalFiled : mixed
- $totalFiledPayableTaxField : mixed
- $userReportIntentions : array<string|int, ReportIntention>
- $userReportObligations : array<string|int, ReportObligation>
- $userVatRepository : UserVatRepository
- $versioned : mixed
- $versionedPayableTaxField : mixed
- $yearlyPreliminaryReport : Report
Methods
- __construct() : mixed
- calculateAll() : mixed
- calculateAllDifferences() : mixed
- calculateDifferenceBetweenFields() : string
- createJob() : mixed
- customRound() : mixed
- filterParams() : array<string|int, mixed>
- filterSummaries() : array<string|int, mixed>
- getAllowedFilters() : array<string|int, mixed>
- getBucketName() : string
- getClient() : Client
- getExportTypes() : array<string|int, mixed>
- getFileComponent() : AbstractExportFile
- getHeaders() : array<string|int, mixed>
- getLastRowsNumber() : array<string|int, mixed>
- getLine() : mixed
- Get the value of line
- getLines() : Generator<string|int, array<string|int, string>>
- getSubmissionProofSummaryValue() : mixed
- getType() : string
- handle() : mixed
- markAsInProgress() : mixed
- validateParams() : void
- validatePositiveInteger() : mixed
- cloudPath() : mixed
- createFile() : resource
- filename() : string|null
- generateFile() : void
- getCloudStorageComponent() : mixed
- localPath() : mixed
- markAsDone() : mixed
- registerShutdownFunction() : mixed
- remoteUri() : mixed
- removeFile() : mixed
- saveError() : mixed
- saveToCloud() : mixed
- validateBool() : bool
- validateDate() : bool
- validateRequired() : bool
- validateString() : bool
- calculateAllDifferencesBetweenSubmissionProofAndPreliminaryFields() : mixed
- calculateAllDifferencesBetweenTotalFiledAndTotalVJFields() : mixed
- calculateAllDifferencesBetweenTotalVJFieldsAndTotalProofs() : mixed
- calculateAllDifferencesBetweenVersionedAndPreliminaryFields() : mixed
- calculateAllLatestPreliminaryReportFields() : void
- calculateAllLatestVersionedReportFields() : mixed
- calculateAllSubmissionProofsFields() : mixed
- calculateDifferenceBetweenGrossValueAndNetValue() : mixed
- calculateECAVAT19() : string
- calculateECAVAT7() : string
- calculateGrossValue() : mixed
- calculateL61ECA() : string
- calculateNetValue() : mixed
- calculatePayableTaxField() : mixed
- calculateVAT19() : string
- calculateVAT7() : string
- checkIfPeriodIsEmpty() : mixed
- convertToNumber() : float
- getDeReportObligations() : array<string|int, mixed>
- getDeUserVat() : UserVat
- getDifferenceBetweenLatestReportVersionSubmittedLineValuesAndLatestPreliminaryReportLineValues() : array<string|int, mixed>
- getDifferenceBetweenSubmissionProofLineValuesAndLatestPreliminaryReportLineValues() : array<string|int, mixed>
- getDifferenceLineValuesArray() : array<string|int, mixed>
- getEmptyRow() : array<string|int, mixed>
- getEntryReportsForPeriod() : mixed
- getLatestPreliminaryReportLineValues() : array<string|int, mixed>
- getLatestReportVersionSubmittedLineValues() : array<string|int, mixed>
- getLineDifferenceBetweenTotalFiledAndTotalVJ() : array<string|int, mixed>
- getLineDifferenceBetweenTotalVJAndTotalProofs() : array<string|int, mixed>
- getLinesValues() : array<string|int, mixed>
- getLineTotalFiled() : array<string|int, mixed>
- getLineTotalProofs() : array<string|int, mixed>
- getLineTotalVJ() : array<string|int, mixed>
- getPreliminaryReportsForPeriod() : array<string|int, mixed>|null
- getPreliminaryYearlyReport() : mixed
- getReportObligationPeriodMonthsDiff() : mixed
- getReportsSummaries() : array<string|int, mixed>
- getSubmissionProofLineValues() : array<string|int, mixed>
- getSubmissionProofSummaries() : array<string|int, mixed>
- getUserReportConfigurations() : array<string|int, mixed>
- Returns array combined of ReportIntention if exists, or an array of ReportObligation.
- getUserReportIntentions() : array<string|int, mixed>
- validateEntryReportsForUserReportConfiguration() : mixed
- validatePreliminaryReportsForUserReportConfiguration() : mixed
Constants
ACTIVE_HANDLERS
public
mixed
ACTIVE_HANDLERS
= [\Vatjar\Export\Component\TransactionVolumeExportHandler::class, \Vatjar\Export\Component\VatReportSummaryExportHandler::class, \Vatjar\Export\Component\MovementMissingCountryExportHandler::class, \Vatjar\Export\Component\StorageDetectionExportHandler::class, \Vatjar\Export\Component\TransactionToGbAfterBrexitExportHandler::class, \Vatjar\Export\Component\GermanYearlyFilingExportHandler::class, \Vatjar\Export\Component\ArrangedUserExportHandler::class, \Vatjar\Export\Component\YearlyTransactionCountExportHandler::class, \Vatjar\Export\Component\ItalianYearlyFilingExportHandler::class]
COLOR_BLUE
private
mixed
COLOR_BLUE
= 'C8DAF9'
COLOR_GREEN
private
mixed
COLOR_GREEN
= "92C47C"
COLOR_LIGHT_GREEN
private
mixed
COLOR_LIGHT_GREEN
= "D8EAD3"
COLOR_RED
private
mixed
COLOR_RED
= "FF0000"
COLOR_YELLOW
private
mixed
COLOR_YELLOW
= 'FFE599'
EMPTY_STRING
private
mixed
EMPTY_STRING
= ""
Properties
$fileComponent
protected
mixed
$fileComponent
$client
private
Client|null
$client
$deUserVat
private
UserVat
$deUserVat
$difference
private
mixed
$difference
= []
$differencePayableTaxField
private
mixed
$differencePayableTaxField
$differenceSubmission
private
mixed
$differenceSubmission
= []
$emptyPeriod
private
bool|null
$emptyPeriod
$entryReportRepository
private
EntryReportRepository
$entryReportRepository
$entryReportsForPeriod
private
array<string|int, EntryReport>
$entryReportsForPeriod
$entryReportsSummaries
private
array<string|int, mixed>|null
$entryReportsSummaries
$fields
private
mixed
$fields
= ['L41ECS' => ['vatTypes' => ['ECS'], 'rates' => [], 'calculate' => 'calculateNetValue', 'roundValue' => true, 'roundEveryItem' => false], 'L81BMG19' => ['vatTypes' => ['DOMV', 'DST'], 'rates' => [19], 'calculate' => 'calculateNetValue', 'roundValue' => true, 'roundEveryItem' => true], 'VAT19' => ['vatTypes' => ['DOMV'], 'rates' => [19], 'calculate' => 'calculateVAT19'], 'L35BMG16_5' => ['vatTypes' => ['DST'], 'rates' => [16, 5], 'calculate' => 'calculateNetValue', 'roundValue' => true, 'roundEveryItem' => true], 'L36VAT16_5' => ['vatTypes' => ['DST'], 'rates' => [16, 5], 'calculate' => 'calculateGrossValue', 'roundValue' => true, 'roundEveryItem' => true], 'L86BMG7' => ['vatTypes' => ['DOMV'], 'rates' => [7], 'calculate' => 'calculateNetValue', 'roundValue' => true, 'roundEveryItem' => true], 'VAT7' => ['vatTypes' => ['DOMV'], 'rates' => [7], 'calculate' => 'calculateVAT7'], 'L87BMG0' => ['vatTypes' => ['DOMV'], 'rates' => [0], 'calculate' => 'calculateNetValue', 'roundValue' => true, 'roundEveryItem' => true], 'L89ECABMG19' => ['vatTypes' => ['ECA'], 'rates' => [19], 'calculate' => 'calculateNetValue', 'roundValue' => true], 'ECAVAT19' => ['vatTypes' => ['ECA'], 'rates' => [19], 'calculate' => 'calculateECAVAT19'], 'L95ECABMG16_5' => ['vatTypes' => ['ECA'], 'rates' => [16, 5], 'calculate' => 'calculateNetValue'], 'L98ECAVAT16_5' => ['vatTypes' => ['ECA'], 'rates' => [16, 5], 'calculate' => 'calculateGrossValue'], 'L93ECABMG7' => ['vatTypes' => ['ECA'], 'rates' => [7], 'calculate' => 'calculateNetValue'], 'ECAVAT7' => ['vatTypes' => ['ECA'], 'rates' => [7], 'calculate' => 'calculateECAVAT7'], 'L90ECA0' => ['vatTypes' => ['ECA'], 'rates' => [0], 'calculate' => 'calculateNetValue'], 'L43EXP' => ['vatTypes' => ['EXP', 'DEEM'], 'rates' => [], 'calculate' => 'calculateNetValue'], 'L45DST' => ['vatTypes' => ['DSF'], 'rates' => [], 'calculate' => 'calculateNetValue'], 'L66PUR' => ['vatTypes' => ['PUR'], 'rates' => [], 'calculate' => 'calculateDifferenceBetweenGrossValueAndNetValue'], 'L61ECA' => ['vatTypes' => ['ECA'], 'rates' => [], 'calculate' => 'calculateL61ECA'], 'L62IMP' => ['vatTypes' => ['IMP'], 'rates' => [], 'calculate' => 'calculateDifferenceBetweenGrossValueAndNetValue']]
$preliminary
private
mixed
$preliminary
= []
$preliminaryPayableTaxField
private
mixed
$preliminaryPayableTaxField
$preliminaryReportsForPeriod
private
mixed
$preliminaryReportsForPeriod
Tags
$preliminaryReportsSummaries
private
array<string|int, mixed>
$preliminaryReportsSummaries
$reportIntentionRepository
private
ReportIntentionRepository
$reportIntentionRepository
$reportObligationRepository
private
ReportObligationRepository
$reportObligationRepository
$reportRepository
private
ReportRepository
$reportRepository
$submissionProof
private
mixed
$submissionProof
= []
$submissionProofPayableTaxField
private
mixed
$submissionProofPayableTaxField
$submissionProofsSummaries
private
array<string|int, mixed>|null
$submissionProofsSummaries
$submissionProofTotal
private
mixed
$submissionProofTotal
= []
$totalDifferenceRowsTitles
private
mixed
$totalDifferenceRowsTitles
= ['Difference: preliminary - versioned', 'Difference: preliminary - submission']
$totalFiled
private
mixed
$totalFiled
= []
$totalFiledPayableTaxField
private
mixed
$totalFiledPayableTaxField
= 0
$userReportIntentions
private
array<string|int, ReportIntention>
$userReportIntentions
$userReportObligations
private
array<string|int, ReportObligation>
$userReportObligations
$userVatRepository
private
UserVatRepository
$userVatRepository
$versioned
private
mixed
$versioned
= []
$versionedPayableTaxField
private
mixed
$versionedPayableTaxField
$yearlyPreliminaryReport
private
Report
$yearlyPreliminaryReport
Methods
__construct()
public
__construct(EntryReportRepository $entryReportRepository, UserVatRepository $userVatRepository, ReportIntentionRepository $reportIntentionRepository, ReportObligationRepository $reportObligationRepository, ReportRepository $reportRepository) : mixed
Parameters
- $entryReportRepository : EntryReportRepository
- $userVatRepository : UserVatRepository
- $reportIntentionRepository : ReportIntentionRepository
- $reportObligationRepository : ReportObligationRepository
- $reportRepository : ReportRepository
calculateAll()
public
calculateAll(mixed &$property, mixed $summary[, mixed $calculateTotal = false ]) : mixed
Parameters
- $property : mixed
- $summary : mixed
- $calculateTotal : mixed = false
calculateAllDifferences()
public
calculateAllDifferences(mixed &$property, mixed $differenceLeftPart, mixed $differenceRightPart) : mixed
Parameters
- $property : mixed
- $differenceLeftPart : mixed
- $differenceRightPart : mixed
calculateDifferenceBetweenFields()
public
calculateDifferenceBetweenFields(mixed $field1, mixed $field2) : string
Parameters
- $field1 : mixed
- $field2 : mixed
Return values
stringcreateJob()
public
final static createJob(Export $export) : mixed
Parameters
- $export : Export
Tags
customRound()
public
customRound(mixed $value) : mixed
Parameters
- $value : mixed
filterParams()
public
static filterParams(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>filterSummaries()
public
filterSummaries(mixed $array, mixed $vatTypes, mixed $vatRates) : array<string|int, mixed>
Parameters
- $array : mixed
- $vatTypes : mixed
- $vatRates : mixed
Return values
array<string|int, mixed>getAllowedFilters()
public
getAllowedFilters() : array<string|int, mixed>
Return values
array<string|int, mixed>getBucketName()
public
getBucketName() : string
Return values
stringgetClient()
public
getClient(mixed $clientId, mixed $vatNumber, mixed $taxId) : Client
Parameters
- $clientId : mixed
- $vatNumber : mixed
- $taxId : mixed
Tags
Return values
ClientgetExportTypes()
public
static getExportTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>getFileComponent()
public
getFileComponent() : AbstractExportFile
Return values
AbstractExportFilegetHeaders()
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getLastRowsNumber()
public
getLastRowsNumber() : array<string|int, mixed>
Return values
array<string|int, mixed>getLine()
Get the value of line
public
getLine() : mixed
getLines()
public
getLines(array<string|int, mixed> $parameters) : Generator<string|int, array<string|int, string>>
Parameters
- $parameters : array<string|int, mixed>
Tags
Return values
Generator<string|int, array<string|int, string>>getSubmissionProofSummaryValue()
public
getSubmissionProofSummaryValue(array<string|int, mixed>|null $submissionProofsSummaries, string $summaryLabel) : mixed
Parameters
- $submissionProofsSummaries : array<string|int, mixed>|null
- $summaryLabel : string
getType()
public
static getType() : string
Return values
stringhandle()
public
final handle(Export &$export) : mixed
Parameters
- $export : Export
Tags
markAsInProgress()
public
markAsInProgress(Export &$export) : mixed
Parameters
- $export : Export
validateParams()
public
static validateParams(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
validatePositiveInteger()
public
static validatePositiveInteger(mixed $value) : mixed
Parameters
- $value : mixed
cloudPath()
protected
cloudPath(Export $export) : mixed
Parameters
- $export : Export
createFile()
protected
createFile() : resource
Tags
Return values
resourcefilename()
protected
filename(Export $export) : string|null
Parameters
- $export : Export
Return values
string|nullgenerateFile()
protected
generateFile(resource $file, array<string|int, mixed> $parameters) : void
Parameters
- $file : resource
- $parameters : array<string|int, mixed>
Tags
getCloudStorageComponent()
protected
getCloudStorageComponent(string $bucket) : mixed
Parameters
- $bucket : string
localPath()
protected
localPath(resource $file) : mixed
Parameters
- $file : resource
markAsDone()
protected
markAsDone(resource $file, Export &$export) : mixed
Parameters
- $file : resource
- $export : Export
registerShutdownFunction()
protected
registerShutdownFunction(Export &$export, mixed &$file) : mixed
Parameters
- $export : Export
- $file : mixed
remoteUri()
protected
remoteUri(Export $export) : mixed
Parameters
- $export : Export
removeFile()
protected
removeFile(resource $file) : mixed
Parameters
- $file : resource
saveError()
protected
saveError(Export $export, Throwable $e) : mixed
Parameters
- $export : Export
- $e : Throwable
saveToCloud()
protected
saveToCloud(resource $file, Export $export) : mixed
Parameters
- $file : resource
- $export : Export
validateBool()
protected
static validateBool(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolvalidateDate()
protected
static validateDate(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolvalidateRequired()
protected
static validateRequired(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolvalidateString()
protected
static validateString(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolcalculateAllDifferencesBetweenSubmissionProofAndPreliminaryFields()
private
calculateAllDifferencesBetweenSubmissionProofAndPreliminaryFields() : mixed
calculateAllDifferencesBetweenTotalFiledAndTotalVJFields()
private
calculateAllDifferencesBetweenTotalFiledAndTotalVJFields() : mixed
calculateAllDifferencesBetweenTotalVJFieldsAndTotalProofs()
private
calculateAllDifferencesBetweenTotalVJFieldsAndTotalProofs() : mixed
calculateAllDifferencesBetweenVersionedAndPreliminaryFields()
private
calculateAllDifferencesBetweenVersionedAndPreliminaryFields() : mixed
calculateAllLatestPreliminaryReportFields()
private
calculateAllLatestPreliminaryReportFields() : void
calculateAllLatestVersionedReportFields()
private
calculateAllLatestVersionedReportFields() : mixed
calculateAllSubmissionProofsFields()
private
calculateAllSubmissionProofsFields() : mixed
calculateDifferenceBetweenGrossValueAndNetValue()
private
calculateDifferenceBetweenGrossValueAndNetValue(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ]) : mixed
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
calculateECAVAT19()
private
calculateECAVAT19(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ][, mixed $summaryType = null ]) : string
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
- $summaryType : mixed = null
Return values
stringcalculateECAVAT7()
private
calculateECAVAT7(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ][, mixed $summaryType = null ]) : string
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
- $summaryType : mixed = null
Return values
stringcalculateGrossValue()
private
calculateGrossValue(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ]) : mixed
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
calculateL61ECA()
private
calculateL61ECA(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ][, mixed $summaryType = null ]) : string
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
- $summaryType : mixed = null
Return values
stringcalculateNetValue()
private
calculateNetValue(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ]) : mixed
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
calculatePayableTaxField()
private
calculatePayableTaxField(string $payableTaxType[, bool $calculateTotal = false ]) : mixed
Parameters
- $payableTaxType : string
- $calculateTotal : bool = false
calculateVAT19()
private
calculateVAT19(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ][, mixed $summaryType = null ]) : string
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
- $summaryType : mixed = null
Return values
stringcalculateVAT7()
private
calculateVAT7(array<string|int, mixed> $summaries[, mixed $roundValue = false ][, mixed $roundEveryItem = true ][, mixed $summaryType = null ]) : string
Parameters
- $summaries : array<string|int, mixed>
- $roundValue : mixed = false
- $roundEveryItem : mixed = true
- $summaryType : mixed = null
Return values
stringcheckIfPeriodIsEmpty()
private
checkIfPeriodIsEmpty() : mixed
convertToNumber()
private
convertToNumber(mixed $stringNumber) : float
Parameters
- $stringNumber : mixed
Return values
floatgetDeReportObligations()
private
getDeReportObligations() : array<string|int, mixed>
Return values
array<string|int, mixed>getDeUserVat()
private
getDeUserVat(Client $client) : UserVat
Parameters
- $client : Client
Tags
Return values
UserVatgetDifferenceBetweenLatestReportVersionSubmittedLineValuesAndLatestPreliminaryReportLineValues()
private
getDifferenceBetweenLatestReportVersionSubmittedLineValuesAndLatestPreliminaryReportLineValues(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getDifferenceBetweenSubmissionProofLineValuesAndLatestPreliminaryReportLineValues()
private
getDifferenceBetweenSubmissionProofLineValuesAndLatestPreliminaryReportLineValues(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getDifferenceLineValuesArray()
private
getDifferenceLineValuesArray(DateTime $date, int $totalDifferenceRowsTitlesIndex) : array<string|int, mixed>
Parameters
- $date : DateTime
- $totalDifferenceRowsTitlesIndex : int
Return values
array<string|int, mixed>getEmptyRow()
private
getEmptyRow(string $rowLabel, string $rowColor, DateTime $date) : array<string|int, mixed>
Parameters
- $rowLabel : string
- $rowColor : string
- $date : DateTime
Return values
array<string|int, mixed>getEntryReportsForPeriod()
private
getEntryReportsForPeriod(DateTime $date, array<string|int, mixed> $includedPeriods) : mixed
Parameters
- $date : DateTime
- $includedPeriods : array<string|int, mixed>
getLatestPreliminaryReportLineValues()
private
getLatestPreliminaryReportLineValues(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getLatestReportVersionSubmittedLineValues()
private
getLatestReportVersionSubmittedLineValues(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getLineDifferenceBetweenTotalFiledAndTotalVJ()
private
getLineDifferenceBetweenTotalFiledAndTotalVJ(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getLineDifferenceBetweenTotalVJAndTotalProofs()
private
getLineDifferenceBetweenTotalVJAndTotalProofs(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getLinesValues()
private
getLinesValues(DateTime $date, int $monthRow) : array<string|int, mixed>
Parameters
- $date : DateTime
- $monthRow : int
Return values
array<string|int, mixed>getLineTotalFiled()
private
getLineTotalFiled(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getLineTotalProofs()
private
getLineTotalProofs(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getLineTotalVJ()
private
getLineTotalVJ(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getPreliminaryReportsForPeriod()
private
getPreliminaryReportsForPeriod() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetPreliminaryYearlyReport()
private
getPreliminaryYearlyReport(DateTime $date) : mixed
Parameters
- $date : DateTime
getReportObligationPeriodMonthsDiff()
private
getReportObligationPeriodMonthsDiff(DatePeriod $reportObligationPeriod) : mixed
Parameters
- $reportObligationPeriod : DatePeriod
getReportsSummaries()
private
getReportsSummaries(mixed $reportsForPeriod) : array<string|int, mixed>
Parameters
- $reportsForPeriod : mixed
Return values
array<string|int, mixed>getSubmissionProofLineValues()
private
getSubmissionProofLineValues(DateTime $date) : array<string|int, mixed>
Parameters
- $date : DateTime
Return values
array<string|int, mixed>getSubmissionProofSummaries()
private
getSubmissionProofSummaries(array<string|int, mixed> $entryReportsForPeriod) : array<string|int, mixed>
Parameters
- $entryReportsForPeriod : array<string|int, mixed>
Return values
array<string|int, mixed>getUserReportConfigurations()
Returns array combined of ReportIntention if exists, or an array of ReportObligation.
private
getUserReportConfigurations(DateTime $startDate, DateTime $endDate) : array<string|int, mixed>
Parameters
- $startDate : DateTime
- $endDate : DateTime
Tags
Return values
array<string|int, mixed>getUserReportIntentions()
private
getUserReportIntentions(Client $client, mixed $startDate, mixed $endDate, ReportObligation $deVatReportObligation) : array<string|int, mixed>
Parameters
- $client : Client
- $startDate : mixed
- $endDate : mixed
- $deVatReportObligation : ReportObligation
Return values
array<string|int, mixed>validateEntryReportsForUserReportConfiguration()
private
validateEntryReportsForUserReportConfiguration(mixed $userReportConfiguration, mixed $entryReportsForSelectedYearAndReportObligation, mixed $reportObligationPeriodMonthsDiff) : mixed
Parameters
- $userReportConfiguration : mixed
- $entryReportsForSelectedYearAndReportObligation : mixed
- $reportObligationPeriodMonthsDiff : mixed
Tags
validatePreliminaryReportsForUserReportConfiguration()
private
validatePreliminaryReportsForUserReportConfiguration(mixed $userReportConfiguration, mixed $preliminaryReportsForSelectedYearAndReportObligation, mixed $reportObligationPeriodMonthsDiff) : mixed
Parameters
- $userReportConfiguration : mixed
- $preliminaryReportsForSelectedYearAndReportObligation : mixed
- $reportObligationPeriodMonthsDiff : mixed