Microservice for creating and signing XML files based on Universal Bussiness Language (UBL)
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.
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
You can ask questions and get news through our mailing list:
- Send an email to projectopenubl+subscribe@googlegroups.com o
- Join the Group https://groups.google.com/d/forum/projectopenubl