承接 vineethkrishnan/xrechnung-kit-core 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vineethkrishnan/xrechnung-kit-core

最新稳定版本:v2.1.0

Composer 安装命令:

composer require vineethkrishnan/xrechnung-kit-core

包简介

EN 16931 / XRechnung 3.0 compliant e-invoice generator and validator. Framework-agnostic core.

README 文档

README

EN 16931 / XRechnung 3.0 compliant e-invoice generator and validator for PHP. Framework-agnostic core.

Packagist License PHP Version

This is the framework-agnostic core of xrechnung-kit. It turns a typed PHP value object describing an invoice into a KoSIT-strict valid XRechnung 3.0 / EN 16931 XML document, validates the output in memory before writing to disk, and quarantines invalid output.

This package is intentionally minimal. It has no framework dependencies and no runtime network calls. Framework adapters (Laravel, Symfony, CakePHP, Laminas), platform integrations (TYPO3, Shopware 6, WordPress / WooCommerce, Contenido CMS), and the optional KoSIT Schematron bundle are published as separate packages from the same monorepo.

Installation

composer require vineethkrishnan/xrechnung-kit-core

Optional KoSIT Schematron validation:

composer require --dev vineethkrishnan/xrechnung-kit-kosit-bundle

Framework adapters:

composer require vineethkrishnan/xrechnung-kit-laravel
composer require vineethkrishnan/xrechnung-kit-symfony
composer require vineethkrishnan/xrechnung-kit-cakephp
composer require vineethkrishnan/xrechnung-kit-laminas

Platform integrations (CMS and e-commerce):

composer require vineethkrishnan/xrechnung-kit-typo3
composer require vineethkrishnan/xrechnung-kit-shopware
composer require vineethkrishnan/xrechnung-kit-wordpress
composer require vineethkrishnan/xrechnung-kit-contenido

Quick start

use XrechnungKit\Builder\XRechnungBuilder;
use XrechnungKit\XRechnungGenerator;
use XrechnungKit\XRechnungValidator;

$mappingData = (new MyInvoiceMapper($invoice, $customer))->produce();

$entity = XRechnungBuilder::buildEntity($mappingData);
$generator = new XRechnungGenerator($entity);
$path = $generator->generateXRechnung('/path/to/Invoice_RE-1.xml');

$validator = new XRechnungValidator();
$ok = $validator->validate($path);

The generator runs UBL XSD validation in memory before writing. Invalid output lands at *_invalid.xml and triggers a deduplicated operator alert.

Document classes supported:

  • Standard invoice (UNTDID 380)
  • Partial invoice / deposit / Anzahlung (UNTDID 326)
  • Caution / security deposit
  • Credit note / cancellation (UNTDID 381)
  • Deposit cancellation

Requirements

  • PHP 8.1, 8.2, 8.3, or 8.4
  • ext-libxml, ext-dom, ext-mbstring
  • Optional psr/log
  • Java 11+ for KoSIT Schematron validation (only when running validate-kosit)

Repository

Source, issues, docs, and PRs live in the monorepo: vineethkrishnan/xrechnung-kit.

This repo (xrechnung-kit-core) is an auto-generated split of the monorepo's core/ subtree, published for Packagist. Do not open PRs here; open them against the monorepo.

License

MIT. Bundled UBL XSDs and KoSIT scenarios retain their original licenses; see LICENSE-third-party.md.

Trademark notice

"XRechnung" is a German federal e-invoicing standard maintained by KoSIT (Koordinierungsstelle fuer IT-Standards). xrechnung-kit is an independent open source library and is neither affiliated with nor endorsed by KoSIT or any German government agency.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固