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:
- Send an email to [email protected] o
- Join the Group https://groups.google.com/d/forum/projectopenubl