{"uid":"cap_grG0JVT7obzYM4_dIQnB_","slug":"hcrb-in-e-invoice-ubl-transform-ab7131fd","name":"hcrb.in e-Invoice UBL Transform","description":"Transforms JSON invoice payloads in-RAM into schema-valid Peppol BIS Billing 3.0 UBL 2.1 XML.","url":"https://hcrb.in/v1/modules/compliance/einvoice-transform?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ls_yVQikQn1XpBqICgC8t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a JSON invoice payload in-memory into a schema-valid Peppol BIS Billing 3.0 UBL 2.1 XML document for e-invoicing compliance.","exampleAgentPrompt":"Convert this invoice JSON into a Peppol BIS Billing 3.0 UBL 2.1 XML document — the payload includes supplier IBAN, buyer VAT number, line items with quantities and unit prices, and the total tax amount.","exampleUseCases":[{"title":"EU supplier e-invoice submission","prompt":"I need to send an electronic invoice to my German buyer — can you convert this invoice JSON into a Peppol BIS Billing 3.0 UBL 2.1 XML so I can submit it through the Peppol network?"},{"title":"Automated billing pipeline XML generation","prompt":"Our billing system outputs invoice data as JSON objects — transform this one into a valid UBL 2.1 XML e-invoice so we can pass it downstream to our Peppol access point."},{"title":"E-invoicing compliance check before dispatch","prompt":"Before we send this invoice to the government procurement portal, can you turn the JSON payload into a schema-valid Peppol BIS 3.0 XML and confirm it passes the UBL structure requirements?"}],"resultDescription":"A schema-valid Peppol BIS Billing 3.0 UBL 2.1 XML document serialized from the provided JSON invoice payload, produced entirely in-memory with no external storage side effects.","failureModes":["Missing required invoice fields (e.g. supplier VAT, invoice ID) cause schema validation failure and a 4xx error","Malformed JSON body or incorrect bodyType enum value results in a parse error","Invoice amounts or tax calculations that violate UBL business rules trigger a compliance rejection","Unsupported Peppol profile extensions in the input may produce an incomplete or invalid XML output","Network timeout or service unavailability returns a 5xx error with no XML output"],"whenToPreferThis":"Choose this endpoint when you need deterministic, in-RAM conversion of structured invoice JSON to Peppol BIS Billing 3.0 UBL 2.1 XML without storing data externally. It is ideal for B2B e-invoicing pipelines targeting European Peppol networks, government procurement portals, or any system requiring schema-valid UBL 2.1 output at low per-call cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:41:16.896Z","isFirstParty":false,"canonicalSlug":"hcrb-in-e-invoice-ubl-transform-ab7131fd"}