XBuilder Server :: API

Microservice for creating XML files based on UBL

License

License

GroupId

GroupId

io.github.project-openubl
ArtifactId

ArtifactId

xbuilder-server-api
Last Version

Last Version

1.2.2.Final
Release Date

Release Date

Type

Type

jar
Description

Description

XBuilder Server :: API
Microservice for creating XML files based on UBL

Download xbuilder-server-api

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.project-openubl/xbuilder-server-api/ -->
<dependency>
    <groupId>io.github.project-openubl</groupId>
    <artifactId>xbuilder-server-api</artifactId>
    <version>1.2.2.Final</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.project-openubl/xbuilder-server-api/
implementation 'io.github.project-openubl:xbuilder-server-api:1.2.2.Final'
// https://jarcasting.com/artifacts/io.github.project-openubl/xbuilder-server-api/
implementation ("io.github.project-openubl:xbuilder-server-api:1.2.2.Final")
'io.github.project-openubl:xbuilder-server-api:jar:1.2.2.Final'
<dependency org="io.github.project-openubl" name="xbuilder-server-api" rev="1.2.2.Final">
  <artifact name="xbuilder-server-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.project-openubl', module='xbuilder-server-api', version='1.2.2.Final')
)
libraryDependencies += "io.github.project-openubl" % "xbuilder-server-api" % "1.2.2.Final"
[io.github.project-openubl/xbuilder-server-api "1.2.2.Final"]

Dependencies

compile (2)

Group / Artifact Type Version
io.github.project-openubl : xbuilder jar 1.1.0.Final
org.keycloak : keycloak-core jar 9.0.3

provided (5)

Group / Artifact Type Version
org.jboss.resteasy : resteasy-core jar
jakarta.inject : jakarta.inject-api jar
jakarta.enterprise : jakarta.enterprise.cdi-api jar
org.hibernate.validator : hibernate-validator jar
org.eclipse.microprofile.health : microprofile-health-api jar 2.2

Project Modules

There are no modules declared in this project.

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.2.Final
1.2.1.Final
1.2.0.Final