# Nota Fiscal para um Órgão Público

Source: https://developer.avalara.com/invoice_goods_pt/transacoes/nf_orgao_publico/

# Nota Fiscal para um Órgão Público

Abaixo você encontra um modelo de payload de Nota Fiscal para um Órgão Público.

```
{	"header": {		"documentCode": "0000014466",		"locations": {			"entity": {				"name": "TRIBUNAL DE JUSTICA DE SP",				"type": "federalGovernment",				"federalTaxId": "00114466886385",				"taxesSettings": {					"icmsTaxPayer": false				},				"address": {					"street": "PC PRACA MUNICIPAL, LOTE",					"neighborhood": "PLANO PILOTO",					"zipcode": "04710010",					"cityCode": "3550308",					"cityName": "SÃO PAULO",					"state": "SP",					"countryCode": "1058",					"number": "01",					"phone": "1150235698",					"federalTaxId": "124664589"				}			},			"establishment": {				"name": "CONSULTORIA S/A",				"businessName": "CONSULTORIA S/A",				"type": "business",				"federalTaxId": "12457845785487",				"cityTaxId": "0102041005547",				"stateTaxId": "0102041005547",				"address": {					"street": "Q 02 BLOCO Q SALAS 401 E",					"neighborhood": "ASA SUL",					"zipcode": "70070000",					"cityCode": "5300108",					"cityName": "BRASILIA",					"state": "DF",					"country": "BRA",					"number": "402",					"phone": "1245784522",					"federalTaxId": "12457845785487"				},				"activitySector": {					"type": "cnae",					"code": "6204000"				}			}		},		"invoiceAccessKey": "532201245465698789456040000000007301416174184",		"companyLocation": "12457845785487",		"transactionDate": "2022-02-21T15:22:29-03:00",		"shippingDate": "2022-02-21T15:22:29-03:00",		"additionalInfo": {			"complementaryInfo": "Valor total do ICMS relativo ao Fundo de Combate à Pobreza (FCP) para a UF de destino: R$ 0,00\nValor total do ICMS de partilha para a UF do destinatário: R$ 6,00\nValor total do ICMS de partilha para a UF do remetente: R$ 0,00\nPIS/COFINS Lei nº 10.637/2002, Artigo 2º\nPIS/COFINS Lei nº 10.833/2003, Artigo 2º\nICMS/SP_Decreto nº 45.490/2000, Artigo 52, Inciso I"		},		"invoiceNumber": "000000730",		"invoiceSerial": "000",		"payment": {			"paymentInfo": {				"paymentMode": [					{						"mode": "90",						"value": "0.00 ",						"cardCNPJ": "00000000000000"					}				]			}		},		"goods": {			"model": "55",			"class": "VENDA DE PRODUÇÃO DO ESTABELECIMENTO",			"tpImp": "1",			"indFinal": "1",			"idDest": "1",			"indPres": "0",			"tpEmis": "1",			"transport": {				"modFreight": "CIF",				"withholdICMSTransport": false,				"volumes": [					{						"seal": [							"000000"						]					}				]			},			"goal": "Normal"		}	},	"lines": [		{			"lineCode": "001",			"itemCode": "0100",			"itemDescriptor": {				"description": "Lápis",				"hsCode": "96091000",				"source": "0",				"unit": "UN",				"unitTaxable": "UN",				"serviceCodeOrigin": "01.06"			},			"numberOfItems": 1000,			"lineUnitPrice": 9.0,			"lineAmount": 9000.0,			"cfop": "5101",			"orderNumber": "TRIBUNAL DE JUS",			"orderItemNumber": "000000",			"taxableQtUnit": 1000,			"goods": {				"indTotType": true,				"isTransportIcmsWithheld": false,				"itemType": "00"			},			"taxDetails": [				{					"taxType": "aproxtribFed",					"subtotalTaxable": 9000,					"rate": 13.45,					"tax": 1210.5,					"exemptionCode": ""				},				{					"taxType": "aproxtribState",					"subtotalTaxable": 9000,					"rate": 18,					"tax": 1620,					"exemptionCode": ""				},				{					"taxType": "cofins",					"subtotalTaxable": 9000,					"rate": 7.6,					"tax": 684,					"cst": "01",					"calcMode": "rate"				},				{					"taxType": "cofinsRf",					"subtotalTaxable": 9000,					"rate": 3,					"tax": 270,					"exemptionCode": "",					"calcMode": "rate"				},				{					"taxType": "csllRf",					"subtotalTaxable": 9000,					"rate": 1,					"tax": 90				},				{					"taxType": "icms",					"subtotalTaxable": 9000,					"rate": 18,					"tax": 1620,					"exemptionCode": "",					"source": "0",					"cst": "00",					"modBC": "3"				},				{					"taxType": "ipi",					"subtotalTaxable": 9000,					"rate": 0,					"tax": 0,					"exemptionCode": "",					"cst": "51",					"legalTaxClass": 999,					"calcMode": "rate"				},				{					"taxType": "irrf",					"subtotalTaxable": 9000,					"rate": 1.2,					"tax": 108				},				{					"taxType": "pis",					"subtotalTaxable": 9000,					"rate": 1.65,					"tax": 148.5,					"exemptionCode": "",					"cst": "01",					"calcMode": "rate"				},				{					"taxType": "pisRf",					"subtotalTaxable": 9000,					"rate": 0.65,					"tax": 58.5,					"exemptionCode": "",					"calcMode": "rate"				}			]		}	],	"summary": {		"numberOfLines": 1,		"totalLineAmounts": 9000,		"totalTaxedDiscounts": 0,		"totalUntaxedDiscounts": 0,		"totalInsurances": 0,		"totalFreights": 0,		"totalOtherCosts": 0,		"totalUnTaxedOtherCosts": 0,		"totalInvoice": 9000,		"taxByType": {			"cofins": {				"tax": 684,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 684					}				]			},			"icms": {				"tax": 1620,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "São Paulo",						"jurisdictionType": "State",						"tax": 1620					}				]			},			"pis": {				"tax": 148.5,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 148.5					}				]			},			"ipi": {				"tax": 0,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 0					}				]			},			"cofinsRf": {				"tax": 270,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 270					}				]			},			"csllRf": {				"tax": 90,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 90					}				]			},			"irrf": {				"tax": 108,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 108					}				]			},			"pisRf": {				"tax": 58.5,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 58.5					}				]			},			"aproxtribFed": {				"tax": 1210.5,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 1210.5					}				]			},			"aproxtribState": {				"tax": 1620,				"subtotalTaxable": 9000,				"jurisdictions": [					{						"jurisdictionName": "Brazil",						"jurisdictionType": "Country",						"tax": 1620					}				]			}		}	}}
```

[Anterior](/invoice_goods_pt/transacoes/carta_correcao.html)

[Próxima](/invoice_goods_pt/revisao_funcional.html)