Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Extract structured fields from p11d documents.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Finance teams use this recipe to extract P11D fields into structured JSON for accounts receivable, accounts payable, tax, and ERP workflows.
Document Extraction (1 credit per page)
You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.
For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.
curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"files": [
{
"type": "url",
"name": "p11d.pdf",
"url": "https://example.com/documents/p11d-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "seller_name",
"type": "TEXT",
"description": "Seller, supplier, or issuer name"
},
{
"name": "buyer_name",
"type": "TEXT",
"description": "Buyer, customer, or recipient name"
},
{
"name": "document_number",
"type": "TEXT",
"description": "Invoice or fiscal document number"
},
{
"name": "issue_date",
"type": "DATE",
"description": "Issue date"
},
{
"name": "line_items",
"type": "ARRAY",
"description": "Line items, services, or taxable supplies",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Item or service description"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity"
},
{
"name": "unit_price",
"type": "CURRENCY_AMOUNT",
"description": "Unit price"
},
{
"name": "line_total",
"type": "CURRENCY_AMOUNT",
"description": "Line total"
}
]
},
{
"name": "tax_amount",
"type": "CURRENCY_AMOUNT",
"description": "Tax amount"
},
{
"name": "total_amount",
"type": "CURRENCY_AMOUNT",
"description": "Total payable amount"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
}'
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });
const result = await client.extractDocument({
"files": [
{
"type": "url",
"name": "p11d.pdf",
"url": "https://example.com/documents/p11d-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "seller_name",
"type": "TEXT",
"description": "Seller, supplier, or issuer name"
},
{
"name": "buyer_name",
"type": "TEXT",
"description": "Buyer, customer, or recipient name"
},
{
"name": "document_number",
"type": "TEXT",
"description": "Invoice or fiscal document number"
},
{
"name": "issue_date",
"type": "DATE",
"description": "Issue date"
},
{
"name": "line_items",
"type": "ARRAY",
"description": "Line items, services, or taxable supplies",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Item or service description"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity"
},
{
"name": "unit_price",
"type": "CURRENCY_AMOUNT",
"description": "Unit price"
},
{
"name": "line_total",
"type": "CURRENCY_AMOUNT",
"description": "Line total"
}
]
},
{
"name": "tax_amount",
"type": "CURRENCY_AMOUNT",
"description": "Tax amount"
},
{
"name": "total_amount",
"type": "CURRENCY_AMOUNT",
"description": "Total payable amount"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
});
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")
result = client.extract_document(**{
"files": [
{
"type": "url",
"name": "p11d.pdf",
"url": "https://example.com/documents/p11d-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "seller_name",
"type": "TEXT",
"description": "Seller, supplier, or issuer name"
},
{
"name": "buyer_name",
"type": "TEXT",
"description": "Buyer, customer, or recipient name"
},
{
"name": "document_number",
"type": "TEXT",
"description": "Invoice or fiscal document number"
},
{
"name": "issue_date",
"type": "DATE",
"description": "Issue date"
},
{
"name": "line_items",
"type": "ARRAY",
"description": "Line items, services, or taxable supplies",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Item or service description"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity"
},
{
"name": "unit_price",
"type": "CURRENCY_AMOUNT",
"description": "Unit price"
},
{
"name": "line_total",
"type": "CURRENCY_AMOUNT",
"description": "Line total"
}
]
},
{
"name": "tax_amount",
"type": "CURRENCY_AMOUNT",
"description": "Tax amount"
},
{
"name": "total_amount",
"type": "CURRENCY_AMOUNT",
"description": "Total payable amount"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
})
package main
import il "github.com/iterationlayer/sdk-go"
func main() {
client := il.NewClient("YOUR_API_KEY")
result, err := client.ExtractDocument(il.ExtractDocumentRequest{
Files: []il.FileInput{
il.FileInput{
Type: "url",
Name: "p11d.pdf",
Url: "https://example.com/documents/p11d-sample.pdf",
},
},
Schema: il.ExtractionSchema{
Fields: []any{
il.TextFieldConfig{
Name: "seller_name",
Type: "TEXT",
Description: "Seller, supplier, or issuer name",
},
il.TextFieldConfig{
Name: "buyer_name",
Type: "TEXT",
Description: "Buyer, customer, or recipient name",
},
il.TextFieldConfig{
Name: "document_number",
Type: "TEXT",
Description: "Invoice or fiscal document number",
},
il.DateFieldConfig{
Name: "issue_date",
Type: "DATE",
Description: "Issue date",
},
il.ArrayFieldConfig{
Name: "line_items",
Type: "ARRAY",
Description: "Line items, services, or taxable supplies",
Fields: []any{
il.TextFieldConfig{
Name: "description",
Type: "TEXT",
Description: "Item or service description",
},
il.DecimalFieldConfig{
Name: "quantity",
Type: "DECIMAL",
Description: "Quantity",
},
il.CurrencyAmountFieldConfig{
Name: "unit_price",
Type: "CURRENCY_AMOUNT",
Description: "Unit price",
},
il.CurrencyAmountFieldConfig{
Name: "line_total",
Type: "CURRENCY_AMOUNT",
Description: "Line total",
},
},
},
il.CurrencyAmountFieldConfig{
Name: "tax_amount",
Type: "CURRENCY_AMOUNT",
Description: "Tax amount",
},
il.CurrencyAmountFieldConfig{
Name: "total_amount",
Type: "CURRENCY_AMOUNT",
Description: "Total payable amount",
},
il.CurrencyCodeFieldConfig{
Name: "currency",
Type: "CURRENCY_CODE",
Description: "Currency code",
},
},
},
})
if err != nil {
panic(err)
}
_ = result
}
{
"name": "Extract P11D Data",
"nodes": [
{
"parameters": {
"content": "## Extract P11D Data\n\nFinance teams use this recipe to extract P11D fields into structured JSON for accounts receivable, accounts payable, tax, and ERP workflows.\n\n**Note:** This workflow uses the Iteration Layer community node (`n8n-nodes-iterationlayer`). Install it via Settings > Community Nodes on self-hosted n8n, or add it directly on n8n Cloud with Verified Community Nodes enabled.",
"height": 280,
"width": 500,
"color": 2
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
200,
40
],
"id": "extract-p11d-data-overview",
"name": "Overview"
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
250,
300
],
"id": "extract-p11d-data-trigger",
"name": "Manual Trigger"
},
{
"parameters": {
"resource": "documentExtraction",
"schemaInputMode": "rawJson",
"schemaJson": "{\n \"fields\": [\n {\n \"name\": \"seller_name\",\n \"type\": \"TEXT\",\n \"description\": \"Seller, supplier, or issuer name\"\n },\n {\n \"name\": \"buyer_name\",\n \"type\": \"TEXT\",\n \"description\": \"Buyer, customer, or recipient name\"\n },\n {\n \"name\": \"document_number\",\n \"type\": \"TEXT\",\n \"description\": \"Invoice or fiscal document number\"\n },\n {\n \"name\": \"issue_date\",\n \"type\": \"DATE\",\n \"description\": \"Issue date\"\n },\n {\n \"name\": \"line_items\",\n \"type\": \"ARRAY\",\n \"description\": \"Line items, services, or taxable supplies\",\n \"fields\": [\n {\n \"name\": \"description\",\n \"type\": \"TEXT\",\n \"description\": \"Item or service description\"\n },\n {\n \"name\": \"quantity\",\n \"type\": \"DECIMAL\",\n \"description\": \"Quantity\"\n },\n {\n \"name\": \"unit_price\",\n \"type\": \"CURRENCY_AMOUNT\",\n \"description\": \"Unit price\"\n },\n {\n \"name\": \"line_total\",\n \"type\": \"CURRENCY_AMOUNT\",\n \"description\": \"Line total\"\n }\n ]\n },\n {\n \"name\": \"tax_amount\",\n \"type\": \"CURRENCY_AMOUNT\",\n \"description\": \"Tax amount\"\n },\n {\n \"name\": \"total_amount\",\n \"type\": \"CURRENCY_AMOUNT\",\n \"description\": \"Total payable amount\"\n },\n {\n \"name\": \"currency\",\n \"type\": \"CURRENCY_CODE\",\n \"description\": \"Currency code\"\n }\n ]\n}",
"files": {
"fileValues": [
{
"fileInputMode": "url",
"fileName": "p11d.pdf",
"fileUrl": "https://example.com/documents/p11d-sample.pdf"
}
]
}
},
"type": "n8n-nodes-iterationlayer.iterationLayer",
"typeVersion": 1,
"position": [
500,
300
],
"id": "extract-p11d-data-extract",
"name": "Extract Data",
"credentials": {
"iterationLayerApi": {
"id": "1",
"name": "Iteration Layer API"
}
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Extract Data",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Extract p11d data from the file at [file URL]. Use the extract_document tool with these fields:
- seller_name (TEXT): Seller, supplier, or issuer name
- buyer_name (TEXT): Buyer, customer, or recipient name
- document_number (TEXT): Invoice or fiscal document number
- issue_date (DATE): Issue date
- line_items (ARRAY): Each with description (TEXT), quantity (DECIMAL), unit_price (CURRENCY_AMOUNT), line_total (CURRENCY_AMOUNT)
- tax_amount (CURRENCY_AMOUNT): Tax amount
- total_amount (CURRENCY_AMOUNT): Total payable amount
- currency (CURRENCY_CODE): Currency code
{
"success": true,
"data": {
"seller_name": {
"value": "Seller Name",
"confidence": 0.97,
"citations": [
"SELLER NAME"
]
},
"buyer_name": {
"value": "Buyer Name",
"confidence": 0.97,
"citations": [
"BUYER NAME"
]
},
"document_number": {
"value": "BL-2026-00418",
"confidence": 0.97,
"citations": [
"DOCUMENT NUMBER"
]
},
"issue_date": {
"value": "2026-04-15",
"confidence": 0.97,
"citations": [
"15 Apr 2026"
]
},
"line_items": {
"value": [
{
"description": {
"value": "Description",
"confidence": 0.96,
"citations": [
"DESCRIPTION"
]
},
"quantity": {
"value": 12.5,
"confidence": 0.96,
"citations": [
"QUANTITY"
]
},
"unit_price": {
"value": {
"amount": "1234.56",
"currency": "GBP"
},
"confidence": 0.96,
"citations": [
"GBP 1,234.56"
]
},
"line_total": {
"value": {
"amount": "1234.56",
"currency": "GBP"
},
"confidence": 0.96,
"citations": [
"GBP 1,234.56"
]
}
}
],
"confidence": 0.97,
"citations": [
"LINE ITEMS"
]
},
"tax_amount": {
"value": {
"amount": "1234.56",
"currency": "GBP"
},
"confidence": 0.97,
"citations": [
"GBP 1,234.56"
]
},
"total_amount": {
"value": {
"amount": "1234.56",
"currency": "GBP"
},
"confidence": 0.97,
"citations": [
"GBP 1,234.56"
]
},
"currency": {
"value": "GBP",
"confidence": 0.97,
"citations": [
"CURRENCY"
]
}
}
}
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Compress an image to fit within a specific file size in bytes using quality-first compression.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Convert a contract PDF to clean markdown for clause extraction or LLM analysis.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Convert external documents — specs, contracts, reports — to markdown for knowledge base ingestion.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Convert a document to clean markdown suitable for chunking and embedding in a RAG pipeline.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Convert an image between PNG, JPEG, and WebP formats with quality control for web optimization.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.