{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceTradeSettlementHeaderMonetarySummation",
	"title": "UneceTradeSettlementHeaderMonetarySummation",
	"description": "A collection of monetary amount totals, specified at header level, for a trade settlement.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "TradeSettlementHeaderMonetarySummation",
			"description": "JSON-LD Type."
		},
		"adjustedBalanceOutAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value that is an adjusted amount balanced out for this trade settlement header monetary summation."
		},
		"allowanceTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all allowance amounts being reported in this trade settlement header monetary\nsummation."
		},
		"applicableHeaderBalanceOut": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceHeaderBalanceOut"
			},
			"description": "A header balance out applicable to this trade settlement header monetary summation."
		},
		"balanceOutAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value that is an amount balanced out for this trade settlement header monetary summation."
		},
		"chargeTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all charge amounts being reported in this trade settlement header monetary summation."
		},
		"duePayableAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value that is an amount due and payable for this trade settlement header monetary summation, such as the\namount due to the creditor."
		},
		"excludingTaxesLineTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all line amounts, excluding all duties and taxes, being reported in this trade\nsettlement header monetary summation."
		},
		"grandTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the grand total of this trade settlement header monetary summation, to include addition and\nsubtraction of individual summation amounts."
		},
		"grandTotalSpecifiedAdjustment": {
			"$ref": "https://schema.twindev.org/unece/UneceFinancialAdjustment",
			"description": "The financial adjustment of the grand total specified for this trade settlement header monetary summation."
		},
		"grossLineTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all line amounts, excluding line level allowances and charges and taxes, being reported\nin this trade settlement header monetary summation."
		},
		"includingTaxesLineTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all line amounts, including all duties and taxes, being reported in this trade\nsettlement header monetary summation."
		},
		"informationAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of an amount being reported for information in this trade settlement header monetary summation."
		},
		"insuranceChargeTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all insurance charges being reported in this trade settlement header monetary\nsummation."
		},
		"lineTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the line amount total being reported in this trade settlement header monetary summation."
		},
		"netIncludingTaxesLineTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all line amounts, including line level allowances and charges and including line level\ntaxes, being reported in this trade settlement header monetary summation."
		},
		"netLineTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all line amounts, including line level allowances and charges and excluding line level\ntaxes, being reported in this trade settlement header monetary summation."
		},
		"paymentTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of a payment total reported in this header trade settlement payment monetary summation."
		},
		"productValueExcludingTobaccoTaxInformationAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value which constitutes the total product value, excluding tobacco tax, stated for information purposes in\nthis trade settlement header monetary summation."
		},
		"retailValueExcludingTaxInformationAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value which constitutes the retail value, excluding all duties and taxes, stated for information purposes in\nthis trade settlement header monetary summation."
		},
		"roundingAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of a rounding amount being applied in this trade settlement header monetary summation."
		},
		"specifiedDocument": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceDocument"
			},
			"description": "A document referenced for this trade settlement header monetary summation."
		},
		"taxBasisTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all tax basis amounts being reported in this trade settlement monetary summation."
		},
		"taxTotalAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total of all tax amounts being reported in this trade settlement header monetary summation."
		},
		"totalAllowanceChargeAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of a total allowance and charge reported in this trade settlement header monetary summation."
		},
		"totalDepositFeeInformationAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the total deposit fee stated for information purposes in this trade settlement header monetary\nsummation."
		},
		"totalDiscountAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of a total discount reported in this trade settlement header monetary summation."
		},
		"totalDiscountBasisAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of a total discount basis reported in this trade settlement header monetary summation."
		},
		"totalPrepaidAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of a prepaid total reported in this trade settlement header monetary summation."
		},
		"totalRetailValueInformationAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value which constitutes the total retail value stated for information purposes in this trade settlement\nheader monetary summation."
		}
	},
	"required": ["type"]
}
