natxet/sepa 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

natxet/sepa

最新稳定版本:v0.4

Composer 安装命令:

composer require natxet/sepa

包简介

Generating SEPA Cuadernos standard files for wire transfers in Spain

README 文档

README

SEPA "Cuadernos" implementation in PHP

Some variable names are in Spanish because the official documentation is in Spanish too.

Installation:

Install via composer

composer require "natxet/sepa"

Usage:

<?php

use Natxet\SEPA\SEPA;

$json = <<< JSON
	{
		"ordenante": {
			"nif_ordenante": "B99999999",
			"sufijo_ordenante": "001",
			"fecha_creacion": "2015-06-09",
			"fecha_ejecucion": "2015-06-12",
			"iban_ordenante": "ES9999999999999999999999",
			"detalle_cargo": true,
			"nombre_ordenante": "EMPRESA QUE PAGA S.L.",
			"direccion_via_y_numero": "PLAÇA SAGRADA FAMÍLIA #1",
			"direccion_cp_y_poblacion": "08025 BARCELONA",
			"direccion_provincia": "BARCELONA",
			"pais_ordenante": "ES"
		},
		"beneficiarios": [
		   {
				"referencia_ordenante": "DRE0002",
				"iban_beneficiario": "ES8888888888888888888888",
				"importe_transferencia" : 13.77,
				"clave_gastos": 3,
				"bic_beneficiario": "CAIXESBBXXX",
				"nombre_beneficiario": "Empresa Que Cobra, SL ",
				"direccion_via_y_numero": "Valencia 990, 3º1ª A",
				"direccion_cp_y_poblacion": "08001 Barcelona",
				"direccion_provincia": "Barcelona",
				"pais_beneficiario": "ES",
				"concepto": "Pago de la factura adeudada del mes de mayo con numero 15-345",
				"tipo_transferencia": "SUPP",
				"proposito_transferencia": "SUPP"
		   }
		]
	}
JSON;

$sepa = new SEPA( json_decode( $json ) );
file_put_contents('destination.txt', $sepa->output());

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache
  • 更新时间: 2015-07-30