XML Builder :: Parent

Microservice for sending XML files to SUNAT

License

License

GroupId

GroupId

io.github.project-openubl
ArtifactId

ArtifactId

xml-builder
Last Version

Last Version

1.2.0.RC1
Release Date

Release Date

Type

Type

pom
Description

Description

XML Builder :: Parent
Microservice for sending XML files to SUNAT
Project URL

Project URL

https://project-openubl.github.io/
Source Code Management

Source Code Management

https://github.com/project-openubl/xml-builder

Download xml-builder

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.project-openubl/xml-builder/ -->
<dependency>
    <groupId>io.github.project-openubl</groupId>
    <artifactId>xml-builder</artifactId>
    <version>1.2.0.RC1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.project-openubl/xml-builder/
implementation 'io.github.project-openubl:xml-builder:1.2.0.RC1'
// https://jarcasting.com/artifacts/io.github.project-openubl/xml-builder/
implementation ("io.github.project-openubl:xml-builder:1.2.0.RC1")
'io.github.project-openubl:xml-builder:pom:1.2.0.RC1'
<dependency org="io.github.project-openubl" name="xml-builder" rev="1.2.0.RC1">
  <artifact name="xml-builder" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.github.project-openubl', module='xml-builder', version='1.2.0.RC1')
)
libraryDependencies += "io.github.project-openubl" % "xml-builder" % "1.2.0.RC1"
[io.github.project-openubl/xml-builder "1.2.0.RC1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • extensions
  • api
  • distribution

CI FOSSA Status

https://project-openubl.github.io/xbuilder-server-docs/

xbuilder-server

Microservice for creating and signing XML files based on Universal Bussiness Language (UBL)

Getting started

Docker

The easiest way of starting XBuilder Server is using Docker.

docker run -p 8080:8080 docker.io/projectopenubl/xbuilder-server

Then open http://localhost:8080 and verify that the server is running.

Create XML

Open a terminal or the tool of your preference and execute:

curl -X POST \
-H "Content-Type: application/json" \
-d '{
    "serie": "F001",
    "numero": 1,
    "proveedor": {
        "ruc": "12345678912",
        "razonSocial": "Project OpenUBL"
    },
    "cliente": {
        "tipoDocumentoIdentidad": "RUC",
        "numeroDocumentoIdentidad": "12312312312",
        "nombre": "Nombre de mi cliente"
    },
    "detalle": [
        {
        "descripcion": "Nombre de producto o servicio",
        "precioUnitario": 1,
        "cantidad": 1,
        "tipoIgv": "GRAVADO_OPERACION_ONEROSA"
        }
    ]
}' \
http://localhost:8080/api/documents/invoice/create

Resources

Mailing list

You can ask questions and get news through our mailing list:

License

FOSSA Status

io.github.project-openubl

Project OpenUBL

Open source para facturación electrónica Perú

Versions

Version
1.2.0.RC1
1.1.0.RC1
1.1.0.Beta2