The first page of the document DocMake makes from the sample values on this page.
Logistics
Certificate of Origin
A certificate of origin states where goods were produced, which is what an importing customs office needs before it can apply a tariff rate or count a shipment against a quota. The non-preferential certificate is the everyday one, and it is usually presented to a chamber of commerce that checks it against the invoice, then stamps and signs it.
The form is a familiar set of boxes: consignor, consignee, the means of transport and the route, a remarks box that often carries a letter of credit reference, then numbered item lines giving marks and numbers, the number and kind of packages, a description of the goods with the HS heading, and quantity or weight. The country of origin appears as one declaration covering everything listed, the exporter signs at the foot, and the certifying body adds its own block underneath.
Preferential certificates that claim relief under a trade agreement use their own official forms and sit outside what a general template should imitate, so ask your chamber or your customs broker what a new destination expects. For the routine non-preferential certificate, generate it from the same data that produced the commercial invoice so the package counts and descriptions match line for line.
Blanks to fill
| certificate_number | Certificate number |
| place_of_issue | Place of issue |
| date_of_issue | Date of issue |
| consignor_name | Consignor |
| consignor_address | Consignor address |
| consignee_name | Consignee |
| consignee_address | Consignee address |
| country_of_origin | Country of origin |
| country_of_destination | Country of destination |
| means_of_transport | Means of transport and route |
| place_of_loading | Place of loading |
| invoice_reference | Invoice reference |
| invoice_date | Invoice date |
| remarks | Remarks |
| exporter_declaration | Exporter declaration |
| signed_by | Signed by |
| signatory_position | Position |
| certifying_body | Certifying body |
| lines[] | One per item, so a row is added for every item in the list |
The data behind the preview
This is the exact JSON that produced the document above. Change the values, POST them to the API, and you get your version back as DOCX or PDF. Lists grow and shrink with your data; the layout adapts.
- 01 Sign up free and duplicate this template into your workspace.
- 02 Adjust the wording and branding in the visual editor.
- 03 Fill it in the app, share it as a form link, or call the API.
{
"certificate_number": "CO-RO-2026-01188",
"consignor_name": "Northwind Instruments SRL",
"consignor_address": "Str. Fabricii 118, 400632 Cluj-Napoca, Romania",
"consignee_name": "Kestrel Analytics Inc.",
"consignee_address": "14 Industrial Way, Wilmington, MA 01887, United States",
"country_of_origin": "Romania",
"country_of_destination": "United States",
"means_of_transport": "Sea freight, Constanta to New York, MV Danube Trader voyage 214E",
"place_of_loading": "Constanta, Romania",
"invoice_reference": "CI-2026-0418",
"invoice_date": "August 14, 2026",
"lines": [
{
"item_number": "1",
"marks_and_numbers": "KESTREL / CI-0418 / 1 to 2",
"packages": "2 cartons",
"description_of_goods": "Benchtop conductivity meter, model NC-220",
"tariff_heading": "9027.80",
"quantity": "12 pcs",
"gross_weight": "31.2 kg"
},
{
"item_number": "2",
"marks_and_numbers": "KESTREL / CI-0418 / 3",
"packages": "1 carton",
"description_of_goods": "Flow through conductivity cell, four electrode",
"tariff_heading": "9027.90",
"quantity": "24 pcs",
"gross_weight": "8.4 kg"
},
{
"item_number": "3",
"marks_and_numbers": "KESTREL / CI-0418 / 5",
"packages": "1 carton",
"description_of_goods": "Power leads, manuals and spare fuses",
"tariff_heading": "8544.42",
"quantity": "1 set",
"gross_weight": "2.0 kg"
}
],
"remarks": "Issued for documentary credit LC-4471-KA and presented with the commercial invoice and the packing list.",
"exporter_declaration": "The undersigned declares that the goods described above originate in the country shown and that the particulars given are correct.",
"place_of_issue": "Cluj-Napoca",
"date_of_issue": "August 15, 2026",
"signed_by": "Ioana Preda",
"signatory_position": "Export Manager",
"certifying_body": "Chamber of Commerce and Industry, Cluj county"
} Generate this document via the API
One template plus changing data is the whole point. The list of blanks above is the contract, and every new set of values comes back in the same layout: fill it in the app, hand someone a form link, or POST the JSON and get the file straight back.
The request below carries this page's own values, so it runs as soon as the template exists in your workspace. Swap the values for yours and the response is your document.
curl -X POST https://app.docmake.io/api/v1/render \
-H "Authorization: Bearer $DOCMAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--output certificate-of-origin.pdf \
--data-binary @- <<'JSON'
{
"template_id": "tmpl_your_template_id",
"format": "pdf",
"data": {
"certificate_number": "CO-RO-2026-01188",
"consignor_name": "Northwind Instruments SRL",
"consignor_address": "Str. Fabricii 118, 400632 Cluj-Napoca, Romania",
"consignee_name": "Kestrel Analytics Inc.",
"consignee_address": "14 Industrial Way, Wilmington, MA 01887, United States",
"country_of_origin": "Romania",
"country_of_destination": "United States",
"means_of_transport": "Sea freight, Constanta to New York, MV Danube Trader voyage 214E",
"place_of_loading": "Constanta, Romania",
"invoice_reference": "CI-2026-0418",
"invoice_date": "August 14, 2026",
"lines": [
{
"item_number": "1",
"marks_and_numbers": "KESTREL / CI-0418 / 1 to 2",
"packages": "2 cartons",
"description_of_goods": "Benchtop conductivity meter, model NC-220",
"tariff_heading": "9027.80",
"quantity": "12 pcs",
"gross_weight": "31.2 kg"
},
{
"item_number": "2",
"marks_and_numbers": "KESTREL / CI-0418 / 3",
"packages": "1 carton",
"description_of_goods": "Flow through conductivity cell, four electrode",
"tariff_heading": "9027.90",
"quantity": "24 pcs",
"gross_weight": "8.4 kg"
},
{
"item_number": "3",
"marks_and_numbers": "KESTREL / CI-0418 / 5",
"packages": "1 carton",
"description_of_goods": "Power leads, manuals and spare fuses",
"tariff_heading": "8544.42",
"quantity": "1 set",
"gross_weight": "2.0 kg"
}
],
"remarks": "Issued for documentary credit LC-4471-KA and presented with the commercial invoice and the packing list.",
"exporter_declaration": "The undersigned declares that the goods described above originate in the country shown and that the particulars given are correct.",
"place_of_issue": "Cluj-Napoca",
"date_of_issue": "August 15, 2026",
"signed_by": "Ioana Preda",
"signatory_position": "Export Manager",
"certifying_body": "Chamber of Commerce and Industry, Cluj county"
}
}
JSON tmpl_your_template_id is
a stand-in: build this template in the visual editor and copy the id it shows, or create one with POST /api/v1/templates. Keys, formats, strict mode and batches are in the API reference.
Or let an AI assistant do it
The DocMake MCP server lets Claude and other assistants make this document the same way. Install it once:
claude mcp add docmake \
--env DOCMAKE_API_KEY=dm_your_api_key \
-- npx -y @docmake/mcp@latest Then ask for the document in plain words:
Make a PDF from my Certificate of Origin template with certificate number "CO-RO-2026-01188" and place of issue "Cluj-Napoca".
More logistics templates
Bill of Lading
The ocean document: shipper, consignee and notify party, the containers, the freight terms and how many originals were issued.
View template →CMR Consignment Note
The road haulage note used between countries, with the goods, the instructions, and a box each for sender, carrier and consignee.
View template →Delivery Note
The sheet that travels with the goods: what was ordered against what arrived, and a line for anything short or damaged.
View template →