-
Notifications
You must be signed in to change notification settings - Fork 51
Class ZugferdDocument
HorstOeko edited this page Dec 15, 2024
·
17 revisions
Class representing the document basics
Returns the selected profile id
public function getProfileId(): int
{
}
Returns a value of type int
Returns the profile definition
public function getProfileDefinition(): array
{
}
Returns a value of type array
Get a parameter from profile definition
public function getProfileDefinitionParameter(string $parameterName): mixed
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
parameterName | string | ❌ |
Returns a value of type mixed
Deserialize XML content to internal invoice object
public function deserialize(
mixed $xmlContent,
): \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwl\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
xmlContent | mixed | ❌ |
Returns a value of type \horstoeko\zugferd\entities\basic\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\basicwl\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\en16931\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\extended\rsm\CrossIndustryInvoice|\horstoeko\zugferd\entities\minimum\rsm\CrossIndustryInvoice
Serialize internal invoice object as XML
public function serializeAsXml(): string
{
}
Returns a value of type string
Serialize internal invoice object as JSON
public function serializeAsJson(): string
{
}
Returns a value of type string