{"slug":"ort-halowerk-com-v1-cn23-generate-1761e3","title":"Generate a CN 23 customs declaration as PDF from order data","host":"ort.halowerk.com","method":"POST","resource":"https://ort.halowerk.com/v1/cn23-generate","category":"other","description":"Generate a CN 23 customs declaration as PDF from order data: own layout with all UPU fields (EN/FR), validated descriptions, weights and totals, and whether a declaration is needed at all.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1208,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"addressee":{"city":"London","country":"GB","importer_reference":"GB123456789000","name":"John Smith","postal_code":"SW1A 2AA","street":"10 Downing Street"},"category":"sale_of_goods","currency":"EUR","declaration_date":"2026-11-02","gross_weight_kg":1.2,"invoice_number":"RE-2026-0815","items":[{"description":"Men's cotton T-shirts, printed","hs_code":"610910","net_weight_kg":0.6,"origin_country":"PT","quantity":3,"value":45},{"description":"Ceramic coffee mug, 300 ml","hs_code":"691200","net_weight_kg":0.35,"origin_country":"DE","quantity":1,"value":12.5}],"postal_charges":15.49,"posting_date":"2026-11-02","sender":{"city":"Gronau","company":"Musterwerkstatt","country":"DE","email":"versand@example.com","name":"Erika Musterfrau","postal_code":"48599","street":"Musterweg 1"},"signatory_name":"E. Musterfrau"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"addressee":{"additionalProperties":false,"properties":{"city":{"maxLength":80,"minLength":1,"type":"string"},"company":{"maxLength":80,"type":"string"},"country":{"description":"ISO 3166-1 alpha-2 country code.","pattern":"^[A-Za-z]{2}$","type":"string"},"customs_reference":{"description":"Sender: EORI or VAT number (optional).","maxLength":40,"type":"string"},"email":{"maxLength":120,"type":"string"},"importer_reference":{"description":"Addressee: tax code, VAT number or importer code (optional).","maxLength":60,"type":"string"},"name":{"maxLength":80,"minLength":1,"type":"string"},"phone":{"maxLength":30,"type":"string"},"postal_code":{"maxLength":12,"type":"string"},"street":{"maxLength":120,"minLength":1,"type":"string"}},"required":["name","street","city","country"],"type":"object"},"category":{"enum":["commercial_sample","gift","documents","returned_goods","sale_of_goods","other"]},"category_explanation":{"maxLength":120,"type":"string"},"certificate_numbers":{"items":{"maxLength":40,"type":"string"},"maxItems":5,"type":"array"},"comments":{"maxLength":200,"type":"string"},"currency":{"default":"EUR","pattern":"^[A-Z]{3}$","type":"string"},"declaration_date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"gross_weight_kg":{"exclusiveMinimum":0,"maximum":1000,"type":"number"},"invoice_number":{"maxLength":40,"type":"string"},"items":{"items":{"additionalProperties":false,"properties":{"description":{"description":"Detailed description, e.g. \"men's cotton shirts\".","maxLength":150,"minLength":3,"type":"string"},"hs_code":{"description":"HS tariff number, 6 digits (national extensions up to 10).","pattern":"^\\d{6,10}$","type":"string"},"net_weight_kg":{"description":"Net weight of the whole line.","exclusiveMinimum":0,"maximum":1000,"type":"number"},"origin_country":{"description":"ISO 3166-1 alpha-2 country code.","pattern":"^[A-Za-z]{2}$","type":"string"},"quantity":{"exclusiveMinimum":0,"maximum":100000,"type":"number"},"unit":{"default":"pcs","maxLength":10,"type":"string"},"value":{"description":"Value of the whole line.","maximum":1000000,"minimum":0,"type":"number"}},"required":["description","quantity","net_weight_kg","value"],"type":"object"},"maxItems":30,"minItems":1,"type":"array"},"licence_numbers":{"items":{"maxLength":40,"type":"string"},"maxItems":5,"type":"array"},"office_of_origin":{"maxLength":60,"type":"string"},"postal_charges":{"maximum":100000,"minimum":0,"type":"number"},"posting_date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"sender":{"additionalProperties":false,"properties":{"city":{"maxLength":80,"minLength":1,"type":"string"},"company":{"maxLength":80,"type":"string"},"country":{"description":"ISO 3166-1 alpha-2 country code.","pattern":"^[A-Za-z]{2}$","type":"string"},"customs_reference":{"description":"Sender: EORI or VAT number (optional).","maxLength":40,"type":"string"},"email":{"maxLength":120,"type":"string"},"importer_reference":{"description":"Addressee: tax code, VAT number or importer code (optional).","maxLength":60,"type":"string"},"name":{"maxLength":80,"minLength":1,"type":"string"},"phone":{"maxLength":30,"type":"string"},"postal_code":{"maxLength":12,"type":"string"},"street":{"maxLength":120,"minLength":1,"type":"string"}},"required":["name","street","city","country"],"type":"object"},"signatory_name":{"maxLength":60,"type":"string"}},"required":["sender","addressee","items","category","gross_weight_kg"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1197,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1208,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1217,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1225,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1182,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1176,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1297,"error":null}],"description_full":"Generate a CN 23 customs declaration as PDF from order data: own layout with all UPU fields (EN/FR), validated descriptions, weights and totals, and whether a declaration is needed at all.","last_updated":"2026-11-20T23:07:21.506Z","schemes":["exact"]}